Files
photon/photon/libc/include/stdio.h
2020-04-01 11:58:54 +01:00

36 lines
524 B
C

#ifndef STDIO_H_
#define STDIO_H_
#include <sys/_fconst.h>
#if defined(__FILENAME_MAX)
#define FILENAME_MAX __FILENAME_MAX
#else
#define FILENAME_MAX 1024
#endif
#define SEEK_SET __SEEK_SET
#define SEEK_CUR __SEEK_CUR
#define SEEK_END __SEEK_END
#define EOF -1
#if defined(__cplusplus)
extern "C" {
#endif
typedef struct __io_file FILE;
extern FILE *stdin;
extern FILE *stdout;
extern FILE *stderr;
extern int fileno(FILE *fp);
extern int fputs(const char *str, FILE *fp);
#if defined(__cplusplus)
}
#endif
#endif