summaryrefslogtreecommitdiff
path: root/src/user/lib/stdio/misc.c
diff options
context:
space:
mode:
authordzwdz2022-09-02 23:56:18 +0200
committerdzwdz2022-09-02 23:56:18 +0200
commit6e4b9831f903e583d58de8b4265159f6d859ebc2 (patch)
tree9e941257df8898356d605a7f3398aa09d9b00ec9 /src/user/lib/stdio/misc.c
parente7770ccc0fab8f3a4b65bf2f7a1a11ad453f77e4 (diff)
user/ports: bare minimum to run doomgeneric
Diffstat (limited to 'src/user/lib/stdio/misc.c')
-rw-r--r--src/user/lib/stdio/misc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/user/lib/stdio/misc.c b/src/user/lib/stdio/misc.c
index d74c197..a140ee4 100644
--- a/src/user/lib/stdio/misc.c
+++ b/src/user/lib/stdio/misc.c
@@ -44,3 +44,9 @@ char *tmpnam(char *s) {
strcpy(s, "/tmp/tmpnam");
return s;
}
+
+// TODO sscanf
+int sscanf(const char *restrict s, const char *restrict format, ...) {
+ (void)s; (void)format;
+ return 0;
+}