1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _PPC_BOOT_STDIO_H_ 3 #define _PPC_BOOT_STDIO_H_ 4 5 #include <stdarg.h> 6 7 #define ENOMEM 12 /* Out of Memo 8 #define EINVAL 22 /* Invalid arg 9 #define ENOSPC 28 /* No space le 10 11 extern int printf(const char *fmt, ...) __attr 12 13 #define fprintf(fmt, args...) printf(args) 14 15 extern int sprintf(char *buf, const char *fmt, 16 __attribute__((format(printf, 2, 3))); 17 18 extern int vsprintf(char *buf, const char *fmt 19 20 #endif /* _PPC_BOOT_S 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.