mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-28 20:43:38 +01:00
97d52ff0b1
This is needed for some basic stuff like assert.
29 lines
975 B
C
29 lines
975 B
C
#ifndef __STDIO_H__
|
|
# define __STDIO_H__
|
|
|
|
#include <stddef.h>
|
|
#include <stdarg.h>
|
|
#include <bits/types/FILE.h>
|
|
|
|
extern FILE *stdin;
|
|
extern FILE *stdout;
|
|
extern FILE *stderr;
|
|
/* Make them macros (7.19.1§3) */
|
|
#define stdin stdin
|
|
#define stdout stdout
|
|
#define stderr stderr
|
|
|
|
/* *printf() familly - formatted output conversion. */
|
|
extern int printf(const char *restrict format, ...);
|
|
extern int dprintf(int fd, const char *restrict format, ...);
|
|
extern int sprintf(char *restrict str, const char *restrict format, ...);
|
|
extern int snprintf(char *restrict str, size_t size, const char *restrict format, ...);
|
|
extern int vdprintf(int fd, const char *restrict format, va_list ap);
|
|
extern int vsprintf(char *restrict str, const char *restrict format, va_list ap);
|
|
extern int vsnprintf(char *restrict str, size_t size, const char *restrict format, va_list ap);
|
|
|
|
/* putx() - display char / string */
|
|
extern int putchar(int c);
|
|
extern int puts(const char *s);
|
|
|
|
#endif /*__STDIO_H__*/
|