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-09-15 23:14:42 +0200 |
| commit | b42e218f0d66af002c585a6bb0f586f92a628a40 (patch) | |
| tree | 7d7ea15f0156bf936cc801c5c7efa91a85f1d548 /src/libc/include/stdio.h | |
| parent | 7fc48e9216ff809da5f8055a50b0be17628ef1df (diff) | |
| download | wnix-b42e218f0d66af002c585a6bb0f586f92a628a40.tar.gz | |
Setup project skeleton
Diffstat (limited to 'src/libc/include/stdio.h')
| -rw-r--r-- | src/libc/include/stdio.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/libc/include/stdio.h b/src/libc/include/stdio.h index 1d0e27c..7674107 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,14 @@ #ifndef _STDIO_H #define _STDIO_H -enum -{ - EOF = -1 -}; - +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, ...); +int puts(const char *__s); +int putchar(int __c); extern FILE *stdin, *stdout, *stderr; +#include <printf.h> + #endif |
