OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [arch/] [powerpc/] [boot/] [stdio.h] - Rev 3

Compare with Previous | Blame | View Log

#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, ...) __attribute__((format(printf, 1, 2)));
 
#define fprintf(fmt, args...)	printf(args)
 
extern int sprintf(char *buf, const char *fmt, ...)
	__attribute__((format(printf, 2, 3)));
 
extern int vsprintf(char *buf, const char *fmt, va_list args);
 
#endif				/* _PPC_BOOT_STDIO_H_ */
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.