This repository has been archived on 2022-01-28. You can view files and clone it, but cannot push or open issues or pull requests.
Marlin-Artillery-M600/buildroot/share/fonts/getline.h

14 lines
284 B
C

#ifndef MYGETLINE_H
#define MYGETLINE_H 1
//#include "config.h"
#if !HAVE_GETLINE
#include <stdio.h>
ssize_t getdelim (char **lineptr, size_t *n, int delimiter, FILE *fp);
#define getline(lineptr, n, stream) getdelim (lineptr, n, '\n', stream)
#endif
#endif // MYGETLINE_H