[PATCH] briq_panel: read() and write() get __user pointers, damnit
[linux-2.6/verdex.git] / arch / powerpc / boot / stdio.h
blob73b8a91bfb34810c7af186448f6c0baf61000e93
1 #ifndef _PPC_BOOT_STDIO_H_
2 #define _PPC_BOOT_STDIO_H_
4 #include <stdarg.h>
6 #define ENOMEM 12 /* Out of Memory */
7 #define EINVAL 22 /* Invalid argument */
8 #define ENOSPC 28 /* No space left on device */
10 extern int printf(const char *fmt, ...);
12 #define fprintf(fmt, args...) printf(args)
14 extern int sprintf(char *buf, const char *fmt, ...);
16 extern int vsprintf(char *buf, const char *fmt, va_list args);
18 #endif /* _PPC_BOOT_STDIO_H_ */