kbd: use a better get_key method
[thunix.git] / include / stdio.h
blob4f2ee412196331ba67cb9380cdf58e3c8ec7e94a
1 #ifndef STDIO_H
2 #define STDIO_H
4 #include <stdarg.h>
7 #ifndef NULL
8 #define NULL ((void *) 0)
9 #endif
11 extern int vsprintf (char *, const char *, va_list);
12 #ifdef __USER
13 extern int printf(const char *, ...);
14 extern int sprintf (char *, const char *, ...);
15 #else
16 extern int printk(const char *, ...);
17 extern int sprintk (char *, const char *, ...);
18 #endif
21 /* It's maybe not a good idea stay here */
22 #define MAX(a, b) ((a) > (b) ? (a) : (b))
23 #define MIN(a, b) ((a) < (b) ? (a) : (b))
25 #endif /* stdio.h */