From c8998127732765aabba020ece5e42befc6f1e305 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 27 Jul 2022 21:32:39 +0200 Subject: user/libc: a shitty fgets() --- src/user/lib/include/stdio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/user/lib/include') diff --git a/src/user/lib/include/stdio.h b/src/user/lib/include/stdio.h index eb59793..bf9e09e 100644 --- a/src/user/lib/include/stdio.h +++ b/src/user/lib/include/stdio.h @@ -25,6 +25,7 @@ int fflush(FILE *f); size_t fread(void *restrict ptr, size_t size, size_t nitems, FILE *restrict); size_t fwrite(const void *restrict ptr, size_t size, size_t nitems, FILE *restrict); +char *fgets(char *buf, int size, FILE *f); int fseek(FILE *f, long offset, int whence); int feof(FILE *); -- cgit v1.2.3