From 4c8caaec8e856686581feb0a84089cdad07a0018 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 3 Aug 2022 13:20:50 +0200 Subject: user/libc: "!files" similar to /dev/{stdin,stdout,stderr} on Linux, except handled by the libc instead of the kernel because that's the simplest way --- src/user/lib/include/stdio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user/lib/include') diff --git a/src/user/lib/include/stdio.h b/src/user/lib/include/stdio.h index fd4a676..74c5230 100644 --- a/src/user/lib/include/stdio.h +++ b/src/user/lib/include/stdio.h @@ -25,7 +25,7 @@ extern FILE *const stdin, *const stdout, *const stderr; FILE *fopen(const char *path, const char *mode); FILE *freopen(const char *path, const char *mode, FILE *); FILE *fdopen(int fd, const char *mode); -FILE *file_clone(const FILE *); +FILE *file_clone(const FILE *, const char *mode); int fclose(FILE *); int fflush(FILE *f); -- cgit v1.2.3