mirror of
https://github.com/Fennix-Project/Userspace.git
synced 2025-05-29 07:47:50 +00:00
37 lines
646 B
C
37 lines
646 B
C
#ifndef _STDIO_H
|
|
#define _STDIO_H
|
|
|
|
#include <stdarg.h>
|
|
#include <stddef.h>
|
|
|
|
#define SEEK_SET 0
|
|
|
|
typedef struct
|
|
{
|
|
int unused;
|
|
} FILE;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
extern FILE *stderr;
|
|
#define stderr stderr
|
|
|
|
int fclose(FILE *);
|
|
int fflush(FILE *);
|
|
FILE *fopen(const char *, const char *);
|
|
int fprintf(FILE *, const char *, ...);
|
|
size_t fread(void *, size_t, size_t, FILE *);
|
|
int fseek(FILE *, long, int);
|
|
long ftell(FILE *);
|
|
size_t fwrite(const void *, size_t, size_t, FILE *);
|
|
void setbuf(FILE *, char *);
|
|
int vfprintf(FILE *, const char *, va_list);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif |