summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-11-29 13:03:46 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-11-29 13:03:46 +0100
commitff52258e15ce236d6db69b56cf0735d98e075eeb (patch)
tree1c8af922d812f80faa7b883d160b295f8251e3f9
parentc6ded28dcede2a2c3b1b53c1d89a9d1e36b35339 (diff)
stdio.h: Add missing declaration for freopen(3)
-rw-r--r--libpsx/include/stdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpsx/include/stdio.h b/libpsx/include/stdio.h
index b0979cc..761ef71 100644
--- a/libpsx/include/stdio.h
+++ b/libpsx/include/stdio.h
@@ -116,6 +116,7 @@ int vprintf(const char *fmt, va_list ap);
FILE *fdopen(int fildes, const char *mode);
FILE *fopen(const char *path, const char *mode);
+FILE *freopen(const char *path, const char *mode, FILE *stream);
int fclose(FILE *stream);
size_t fread(void *ptr, size_t size, size_t nmemb, FILE *stream);
size_t fwrite(const void *ptr, size_t size, size_t nmemb, FILE *stream);