From c9358cdeac4522922df46fb6e3ab6a517203ec99 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 15 Nov 2023 21:12:44 +0100 Subject: LibC: Add getdelim and getline --- userland/libc/include/stdio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'userland/libc/include/stdio.h') 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 -- cgit v1.2.3