aboutsummaryrefslogtreecommitdiff
path: root/src/libc/include/stdio.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-07-06 22:11:12 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2025-07-06 22:21:51 +0200
commit55f32781ea611873a08f195d437fc0123919d685 (patch)
treef0d953026bdb76fd97d079528bb5f80aa759c184 /src/libc/include/stdio.h
parent6da94b9e8be7078f0249d1c0782e1375a01f8660 (diff)
downloadwnix-55f32781ea611873a08f195d437fc0123919d685.tar.gz
Setup libc skeleton
Diffstat (limited to 'src/libc/include/stdio.h')
-rw-r--r--src/libc/include/stdio.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/libc/include/stdio.h b/src/libc/include/stdio.h
new file mode 100644
index 0000000..91d440b
--- /dev/null
+++ b/src/libc/include/stdio.h
@@ -0,0 +1,17 @@
+#ifndef _STDIO_H
+#define _STDIO_H
+
+enum
+{
+ EOF = -1
+};
+
+typedef struct __file FILE;
+
+FILE *fopen(const char *__path, const char *__mode);
+int printf(const char *__fmt, ...);
+int fprintf(FILE *__stream, const char *__fmt, ...);
+
+extern FILE *stdin, *stdout, *stderr;
+
+#endif