4 libbasetypeextern struct StdCIOBase
5 libbasetype struct StdCIOIntBase
6 options peropenerbase,rellinklib
10 #include <libraries/stdcio.h>
12 #define _STDIO_H_NOMACRO
17 #include "__stdcio_intbase.h"
21 #include "stdcio_startup.c"
25 # == Internal functions ==
28 # == C99 functions that need dos.library ==
30 void __stdcio_assert(const char *, const char *file, unsigned int line)
34 int remove(const char *filename)
35 int rename(const char *old, const char *new)
38 int fclose(FILE *stream)
39 int fflush(FILE *stream)
40 FILE *fopen(const char * restrict filename, const char * restrict mode)
41 FILE *freopen(const char * restrict filename, const char * restrict mode, FILE * restrict stream)
42 void setbuf(FILE * restrict stream, char * restrict buf)
43 int setvbuf(FILE * restrict stream, char * restrict buf, int mode, size_t size)
44 int fprintf(FILE * restrict stream, const char * restrict format, ...)
45 int fscanf(FILE * restrict stream, const char * restrict format, ...)
46 int printf(const char * restrict format, ...)
47 int scanf(const char * restrict format, ...)
48 int vfprintf(FILE * restrict stream, const char * restrict format, va_list arg)
49 int vfscanf(FILE * restrict stream, const char * restrict format, va_list arg)
50 int vprintf(const char * restrict format, va_list arg)
51 int vscanf(const char * restrict format, va_list arg)
52 int fgetc(FILE *stream)
54 char *fgets(char * restrict s, int n, FILE * restrict stream)
55 int fputc(int c, FILE *stream)
57 int fputs(const char * restrict s, FILE * restrict stream)
61 int puts(const char *s)
62 int ungetc(int c, FILE *stream)
63 size_t fread(void * restrict ptr, size_t size, size_t nmemb, FILE * restrict stream)
64 size_t fwrite(const void * restrict ptr, size_t size, size_t nmemb, FILE * restrict stream)
65 int fgetpos(FILE * restrict stream, fpos_t * restrict pos)
66 int fseek(FILE *stream, long int offset, int whence)
67 int fsetpos(FILE *stream, const fpos_t *pos)
68 long int ftell(FILE *stream)
69 void rewind(FILE *stream)
70 void clearerr(FILE *stream)
71 int feof(FILE *stream)
72 int ferror(FILE *stream)
74 #void perror(const char *s)
77 char *getenv(const char *name)
78 int system(const char *string)