mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
28 lines
412 B
C
28 lines
412 B
C
#pragma once
|
|
|
|
#include <sys/cdefs.h>
|
|
|
|
__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, ...);
|
|
int printf(const char* fmt, ...);
|
|
int sprintf(char* buffer, const char* fmt, ...);
|
|
int putchar(int ch);
|
|
void perror(const char*);
|
|
|
|
__END_DECLS
|
|
|