diff options
| author | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-07-07 13:22:53 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi92@disroot.org> | 2025-11-11 00:08:15 +0100 |
| commit | 7861a52adf92a083bb2aed4c35f98d8035dce032 (patch) | |
| tree | 28cd3c40e4c878f730f5df3c1d93bdf91af490c3 /src/libc/include/stdio.h | |
| parent | 7fc48e9216ff809da5f8055a50b0be17628ef1df (diff) | |
Setup project skeleton
Diffstat (limited to 'src/libc/include/stdio.h')
| -rw-r--r-- | src/libc/include/stdio.h | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/src/libc/include/stdio.h b/src/libc/include/stdio.h index 1d0e27c..b9c1a38 100644 --- a/src/libc/include/stdio.h +++ b/src/libc/include/stdio.h @@ -1,5 +1,5 @@ /* - * wanix, a Unix-like operating system for WebAssembly + * wnix, a Unix-like operating system for WebAssembly applications. * Copyright (C) 2025 Xavier Del Campo Romero * * This program is free software: you can redistribute it and/or modify @@ -19,17 +19,11 @@ #ifndef _STDIO_H #define _STDIO_H -enum -{ - EOF = -1 -}; +enum {EOF = -1}; -typedef struct __file FILE; +int puts(const char *__s); +int putchar(int __c); -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; +#include <printf.h> #endif |
