2018-10-22 13:57:25 +02:00
|
|
|
#pragma once
|
|
|
|
|
2018-10-31 02:09:11 +01:00
|
|
|
#include <sys/cdefs.h>
|
2018-10-22 13:57:25 +02:00
|
|
|
|
2018-10-31 02:09:11 +01:00
|
|
|
__BEGIN_DECLS
|
|
|
|
|
|
|
|
#ifndef EOF
|
|
|
|
#define EOF (-1)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
struct __STDIO_FILE {
|
|
|
|
int fd;
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef struct __STDIO_FILE FILE;
|
|
|
|
|
|
|
|
extern FILE* stdin;
|
|
|
|
extern FILE* stdout;
|
|
|
|
extern FILE* stderr;
|
|
|
|
|
|
|
|
int fprintf(FILE*, const char* fmt, ...);
|
2018-10-22 13:57:25 +02:00
|
|
|
int printf(const char* fmt, ...);
|
|
|
|
int sprintf(char* buffer, const char* fmt, ...);
|
|
|
|
int putchar(int ch);
|
2018-10-26 14:56:21 +02:00
|
|
|
void perror(const char*);
|
2018-10-22 13:57:25 +02:00
|
|
|
|
2018-10-31 02:09:11 +01:00
|
|
|
__END_DECLS
|
2018-10-22 13:57:25 +02:00
|
|
|
|