diff options
author | Anton Kling <anton@kling.gg> | 2023-11-15 21:12:44 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2023-11-15 21:40:13 +0100 |
commit | c9358cdeac4522922df46fb6e3ab6a517203ec99 (patch) | |
tree | a033b4386f1aa825c06d549d3a3bd8f4c0156ddd /userland/libc/include/stdio.h | |
parent | 6713b6a6c112f0de92c63e349d100fc4bd89138e (diff) |
LibC: Add getdelim and getline
Diffstat (limited to 'userland/libc/include/stdio.h')
-rw-r--r-- | userland/libc/include/stdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/userland/libc/include/stdio.h b/userland/libc/include/stdio.h index 94ac9dc..aafae78 100644 --- a/userland/libc/include/stdio.h +++ b/userland/libc/include/stdio.h @@ -115,4 +115,8 @@ int fsetpos(FILE *stream, const fpos_t *pos); int fgetpos(FILE *restrict stream, fpos_t *restrict pos); char *tmpnam(char *s); int rename(const char *old, const char *new); +size_t getdelim(char ** lineptr, size_t * n, + int delimiter, FILE * stream); +size_t getline(char ** lineptr, size_t * n, + FILE * stream); #endif |