diff options
author | Georgiy Bondarenko <69736697+nehilo@users.noreply.github.com> | 2021-03-04 20:54:23 +0300 |
---|---|---|
committer | Georgiy Bondarenko <69736697+nehilo@users.noreply.github.com> | 2021-03-04 20:54:23 +0300 |
commit | e8701195e66f2d27ffe17fb514eae8173795aaf7 (patch) | |
tree | 9f519c4abf6556b9ae7190a6210d87ead1dfadde /buildroot/share/fonts/getline.h | |
download | kp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.tar.xz kp3s-lgvl-e8701195e66f2d27ffe17fb514eae8173795aaf7.zip |
Initial commit
Diffstat (limited to 'buildroot/share/fonts/getline.h')
-rw-r--r-- | buildroot/share/fonts/getline.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/buildroot/share/fonts/getline.h b/buildroot/share/fonts/getline.h new file mode 100644 index 0000000..f21f8ce --- /dev/null +++ b/buildroot/share/fonts/getline.h @@ -0,0 +1,12 @@ +#ifndef MYGETLINE_H +#define MYGETLINE_H + +//#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 |