2024-11-11 15:19:36 +02:00
|
|
|
#ifndef _YGGDRASIL_STDIO_H
|
|
|
|
#define _YGGDRASIL_STDIO_H 1
|
|
|
|
|
2024-11-15 11:14:08 +02:00
|
|
|
#if defined(__cplusplus)
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2024-11-11 15:19:36 +02:00
|
|
|
struct __FILE;
|
|
|
|
typedef struct __FILE FILE;
|
|
|
|
|
|
|
|
extern FILE *stdin;
|
|
|
|
extern FILE *stdout;
|
|
|
|
extern FILE *stderr;
|
|
|
|
|
2024-11-15 11:14:08 +02:00
|
|
|
int asprintf(char **strp, const char *fmt, ...);
|
2024-11-11 15:19:36 +02:00
|
|
|
int dprintf(int fd, const char *fmt, ...);
|
|
|
|
int fprintf(FILE *fp, const char *fmt, ...);
|
|
|
|
int printf(const char *fmt, ...);
|
|
|
|
int snprintf(char *buf, size_t len, const char *fmt, ...);
|
|
|
|
int sprintf(char *buf, const char *fmt, ...);
|
2024-11-15 11:14:08 +02:00
|
|
|
int sscanf(const char *str, const char *fmt, ...);
|
2024-11-28 11:30:09 +02:00
|
|
|
int scanf(const char *fmt, ...);
|
|
|
|
int fscanf(FILE *fp, const char *fmt, ...);
|
2024-11-15 11:14:08 +02:00
|
|
|
|
|
|
|
#if defined(__cplusplus)
|
|
|
|
}
|
|
|
|
#endif
|
2024-11-11 15:19:36 +02:00
|
|
|
|
|
|
|
#endif
|