kern

annotate src/klibc/stdio.h @ 30:a2c6110bd24b

refactored the code a bit, and merged with the malloc implementation branch
author John Tsiombikas <nuclear@siggraph.org>
date Fri, 27 May 2011 22:09:10 +0300
parents ebe5e0e44a9d
children
rev   line source
nuclear@1 1 #ifndef STDIO_H_
nuclear@1 2 #define STDIO_H_
nuclear@1 3
nuclear@5 4 #include <stdlib.h>
nuclear@5 5 #include <stdarg.h>
nuclear@5 6
nuclear@1 7 int putchar(int c);
nuclear@1 8 int puts(const char *s);
nuclear@1 9
nuclear@5 10 int printf(const char *fmt, ...);
nuclear@5 11 int vprintf(const char *fmt, va_list ap);
nuclear@5 12
nuclear@5 13 int sprintf(char *buf, const char *fmt, ...);
nuclear@5 14 int vsprintf(char *buf, const char *fmt, va_list ap);
nuclear@5 15
nuclear@5 16 int snprintf(char *buf, size_t sz, const char *fmt, ...);
nuclear@5 17 int vsnprintf(char *buf, size_t sz, const char *fmt, va_list ap);
nuclear@5 18
nuclear@1 19 #endif /* STDIO_H_ */