20 #pragma mark - Definitions - 59 #if !defined(__FILE_defined) 61 #define __FILE_defined 64 #pragma mark - Supported Functions - 68 int puts(
const char*);
70 #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) 71 int asprintf(
char**,
const char*, ...);
75 #pragma mark - Unsupported Functions - 77 #ifndef DISABLE_UNIMPLEMENTED_LIBC_APIS 86 size_t fread(
void* __restrict,
size_t,
size_t,
FILE* __restrict);
87 size_t fwrite(
const void* __restrict,
size_t,
size_t,
FILE* __restrict);
89 char*
fgets(
char* __restrict,
int,
FILE* __restrict);
90 #if __STDC_VERSION__ < 201112L 97 wchar_t*
fgetws(
wchar_t* __restrict,
int,
FILE* __restrict);
98 int fputws(
const wchar_t* __restrict,
FILE* __restrict);
119 int fputs(
const char* __restrict,
FILE* __restrict);
121 FILE*
fopen(
const char* __restrict,
const char* __restrict);
122 FILE*
freopen(
const char* __restrict,
const char* __restrict,
FILE* __restrict);
131 int rename(
const char*,
const char*);
133 int setvbuf(
FILE* __restrict,
char* __restrict,
int,
size_t);
134 void setbuf(
FILE* __restrict,
char* __restrict);
136 int scanf(
const char* __restrict, ...);
137 int fscanf(
FILE* __restrict,
const char* __restrict, ...);
138 int sscanf(
const char* __restrict,
const char* __restrict, ...);
142 int wscanf(
const wchar_t* __restrict, ...);
143 int fwscanf(
FILE* __restrict,
const wchar_t* __restrict, ...);
144 int swscanf(
const wchar_t* __restrict,
const wchar_t* __restrict, ...);
153 int wprintf(
const wchar_t* __restrict, ...);
154 int fprintf(
FILE* __restrict,
const char* __restrict, ...);
158 int fwprintf(
FILE* __restrict,
const wchar_t* __restrict, ...);
159 int swprintf(
wchar_t* __restrict,
size_t,
const wchar_t* __restrict, ...);
int putchar(int c)
Requires a definition of _putchar() for your platform.
int swprintf(wchar_t *__restrict, size_t, const wchar_t *__restrict,...)
void perror(const char *)
Unsupported printf variants.
wint_t fputwc(wchar_t, FILE *)
int vswprintf(wchar_t *__restrict, size_t, const wchar_t *__restrict, __isoc_va_list)
int scanf(const char *__restrict,...)
int fwprintf(FILE *__restrict, const wchar_t *__restrict,...)
int wscanf(const wchar_t *__restrict,...)
int fsetpos(FILE *, const fpos_t *)
int vprintf(const char *__restrict, __isoc_va_list)
size_t fread(void *__restrict, size_t, size_t, FILE *__restrict)
int fscanf(FILE *__restrict, const char *__restrict,...)
FILE * freopen(const char *__restrict, const char *__restrict, FILE *__restrict)
int fseek(FILE *, long, int)
int fputws(const wchar_t *__restrict, FILE *__restrict)
char * fgets(char *__restrict, int, FILE *__restrict)
int wprintf(const wchar_t *__restrict,...)
wint_t putwc(wchar_t, FILE *)
int rename(const char *, const char *)
int sscanf(const char *__restrict, const char *__restrict,...)
FILE * fopen(const char *__restrict, const char *__restrict)
int vwprintf(const wchar_t *__restrict, __isoc_va_list)
int vswscanf(const wchar_t *__restrict, const wchar_t *__restrict, __isoc_va_list)
void setbuf(FILE *__restrict, char *__restrict)
int vsscanf(const char *__restrict, const char *__restrict, __isoc_va_list)
int fwscanf(FILE *__restrict, const wchar_t *__restrict,...)
int swscanf(const wchar_t *__restrict, const wchar_t *__restrict,...)
size_t fwrite(const void *__restrict, size_t, size_t, FILE *__restrict)
wint_t ungetwc(wint_t, FILE *)
int fprintf(FILE *__restrict, const char *__restrict,...)
int vfwprintf(FILE *__restrict, const wchar_t *__restrict, __isoc_va_list)
int vsprintf(char *__restrict, const char *__restrict, __isoc_va_list)
wchar_t * fgetws(wchar_t *__restrict, int, FILE *__restrict)
int vfwscanf(FILE *__restrict, const wchar_t *__restrict, __isoc_va_list)
int vwscanf(const wchar_t *__restrict, __isoc_va_list)
int asprintf(char **string, const char *fmt,...)
int vasprintf(char **string, const char *fmt, va_list arg_list)
__builtin_va_list __isoc_va_list
int vfprintf(FILE *__restrict, const char *__restrict, __isoc_va_list)
int setvbuf(FILE *__restrict, char *__restrict, int, size_t)
int vscanf(const char *__restrict, __isoc_va_list)
int vfscanf(FILE *__restrict, const char *__restrict, __isoc_va_list)
int fgetpos(FILE *__restrict, fpos_t *__restrict)
int fputs(const char *__restrict, FILE *__restrict)