Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 08e15e81a40e3241ce93b4a43886f3abda184aa6 authored by Linus Torvalds on 07 March 2007, 04:41:20 UTC
Linux 2.6.21-rc3
Tip revision: 08e15e8
stdio.h
#ifndef _PPC_BOOT_STDIO_H_
#define _PPC_BOOT_STDIO_H_

#include <stdarg.h>

#define	ENOMEM		12	/* Out of Memory */
#define	EINVAL		22	/* Invalid argument */
#define ENOSPC		28	/* No space left on device */

extern int printf(const char *fmt, ...);

#define fprintf(fmt, args...)	printf(args)

extern int sprintf(char *buf, const char *fmt, ...);

extern int vsprintf(char *buf, const char *fmt, va_list args);

#endif				/* _PPC_BOOT_STDIO_H_ */
back to top