| 1 |
|
| 2 | #ifndef _PPC_BOOT_STDIO_H_
|
| 3 | #define _PPC_BOOT_STDIO_H_
|
| 4 |
|
| 5 | #include <stdarg.h>
|
| 6 |
|
| 7 | #define ENOMEM 12
|
| 8 | #define EINVAL 22
|
| 9 | #define ENOSPC 28
|
| 10 |
|
| 11 | extern int printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
|
| 12 |
|
| 13 | #define fprintf(fmt, args...) printf(args)
|
| 14 |
|
| 15 | extern int vsprintf(char *buf, const char *fmt, va_list args);
|
| 16 |
|
| 17 | #endif
|