kern
view src/klibc/stdio.h @ 65:e49fdda97607
changed the makefile to only pass "emulation" (-m32 -melf_i386) only when not
running on a i386 system. Also made that work for freebsd too
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Wed, 05 Oct 2011 02:34:58 +0300 |
parents | ebe5e0e44a9d |
children |
line source
1 #ifndef STDIO_H_
2 #define STDIO_H_
4 #include <stdlib.h>
5 #include <stdarg.h>
7 int putchar(int c);
8 int puts(const char *s);
10 int printf(const char *fmt, ...);
11 int vprintf(const char *fmt, va_list ap);
13 int sprintf(char *buf, const char *fmt, ...);
14 int vsprintf(char *buf, const char *fmt, va_list ap);
16 int snprintf(char *buf, size_t sz, const char *fmt, ...);
17 int vsnprintf(char *buf, size_t sz, const char *fmt, va_list ap);
19 #endif /* STDIO_H_ */