diff options
Diffstat (limited to '')
-rw-r--r-- | libc-top-half/musl/src/stdio/getline.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/stdio/getline.c b/libc-top-half/musl/src/stdio/getline.c new file mode 100644 index 0000000..476d0b0 --- /dev/null +++ b/libc-top-half/musl/src/stdio/getline.c @@ -0,0 +1,6 @@ +#include <stdio.h> + +ssize_t getline(char **restrict s, size_t *restrict n, FILE *restrict f) +{ + return getdelim(s, n, '\n', f); +} |