use struct timeval to obtain the cputime. disable display atm until the code is corre...
[AROS.git] / compiler / stdc / stdcio.conf
blob598d7f1e2cf8d7a1eaab891ac85a1777f0611a8e
1 ##begin config
2 version 0.1
3 basename StdCIO
4 libbasetypeextern struct StdCIOBase
5 libbasetype struct StdCIOIntBase
6 options peropenerbase
7 ##end config
9 ##begin cdef
10 #include <libraries/stdcio.h>
12 #define _STDIO_H_NOMACRO
13 #include <stdio.h>
14 ##end cdef
16 ##begin cdefprivate
17 #include "__stdcio_intbase.h"
18 ##end cdefprivate
20 ##begin startup
21 #include "stdcio_startup.c"
22 ##end startup
24 ##begin functionlist
25 # == Internal functions ==
26 .skip 10
28 # == C99 functions that need dos.library ==
29 # * assert.h
30 void __stdcio_assert(const char *, const char *file, unsigned int line)
31 .alias __assert
33 # * stdio.h
34 int remove(const char *filename)
35 int rename(const char *old, const char *new)
36 FILE *tmpfile(void)
37 char *tmpnam(char *s)
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)
53 .alias getc
54 char *fgets(char * restrict s, int n, FILE * restrict stream)
55 int fputc(int c, FILE *stream)
56 .alias putc
57 int fputs(const char * restrict s, FILE * restrict stream)
58 int getchar(void)
59 char *gets(char *s)
60 int putchar(int c)
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)
73 .skip 1
74 #void perror(const char *s)
76 # * stdlib.h
77 char *getenv(const char *name)
78 int system(const char *string)
80 ##end functionlist