compiler/clib: Rename IoErr2errno() to __arosc_ioerr2errno(); function is now defined...
[AROS.git] / compiler / clib / arosc.conf
blob7e0c1f4b5139536870c92b6faff5327ee702cfd3
1 ##begin config
2 version 43.0
3 libbase aroscbase
4 libbasetype struct aroscbase
5 options pertaskbase,noincludes
6 ##end config
8 ##begin cdef
9 struct arosc_userdata;
10 struct arosc_ctype;
11 #define _STDIO_H_NOMACRO
12 #include <stdio.h>
13 #include <stddef.h>
14 #include <stdlib.h>
15 #include <signal.h>
16 #include <termios.h>
17 #include <time.h>
18 #include <utime.h>
19 #include <dirent.h>
20 #include <wchar.h>
21 #include <wctype.h>
22 #include <regex.h>
23 #include <setjmp.h>
24 #include <sys/time.h>
25 #include <sys/times.h>
26 #include <sys/timeb.h>
27 #include <sys/stat.h>
28 #include <sys/mount.h>
29 #include <sys/utsname.h>
30 #include <sys/resource.h>
31 ##end cdef
33 ##begin cdefprivate
34 #include "arosc_gcc.h"
35 ##end cdefprivate
37 ##begin startup
38 #include "arosc_startup.c"
39 ##end startup
41 ##begin functionlist
42 FILE *fopen(const char * restrict filename, const char * restrict mode)
43 FILE *fdopen (int filedes, const char *mode)
44 int fclose(FILE *stream)
45 int printf(const char * restrict format, ...)
46 int vprintf(const char * restrict format, va_list arg)
47 int fprintf(FILE * restrict stream, const char * restrict format, ...)
48 int vfprintf(FILE * restrict stream, const char * restrict format, va_list arg)
49 int fputc(int c, FILE *stream)
50 int fputs(const char * restrict s, FILE * restrict stream)
51 int puts(const char *s)
52 int fflush(FILE *stream)
53 int fgetc(FILE *stream)
54 int ungetc(int c, FILE *stream)
55 char *fgets(char * restrict s, int n, FILE * restrict stream)
56 int feof(FILE *stream)
57 int ferror(FILE *stream)
58 int fileno(FILE *)
59 FILE *freopen(const char * restrict filename, const char * restrict mode, FILE * restrict stream)
60 void clearerr(FILE *stream)
61 size_t fread(void * restrict ptr, size_t size, size_t nmemb, FILE * restrict stream)
62 size_t fwrite(const void * restrict ptr, size_t size, size_t nmemb, FILE * restrict stream)
63 int rename(const char *from, const char *to)
64 int sprintf(char * restrict s, const char * restrict format, ...)
65 int vsprintf(char * restrict s, const char * restrict format, va_list arg)
66 int snprintf(char * restrict s, size_t n, const char * restrict format, ...)
67 int vsnprintf(char * restrict s, size_t n, const char * restrict format, va_list arg)
68 int scanf(const char * restrict format, ...)
69 int vscanf(const char * restrict format, va_list arg)
70 int fscanf(FILE * restrict stream, const char * restrict format, ...)
71 int vfscanf(FILE * restrict stream, const char * restrict format, va_list arg)
72 int sscanf(const char * restrict s, const char * restrict format, ...)
73 int vsscanf(const char * restrict s, const char * restrict format, va_list arg)
74 int fseek(FILE *stream, long int offset, int whence)
75 long int ftell(FILE *stream)
76 void rewind(FILE *stream)
77 int fgetpos(FILE * restrict stream, fpos_t * restrict pos)
78 int fsetpos(FILE *stream, const fpos_t *pos)
79 int remove(const char *filename)
80 void setbuf(FILE * restrict stream, char * restrict buf)
81 void setlinebuf(FILE *stream)
82 int setvbuf(FILE * restrict stream, char * restrict buf, int mode, size_t size)
83 int __vcformat (void * data, int (*outc)(int, void *), const char * format, va_list args)
84 int __vcscan (void * data, int (*getc)(void *), int (*ungetc)(int, void *), const char * format, va_list args)
85 int access(const char *path, int mode)
86 int close(int fd)
87 int dup(int oldfd)
88 int dup2(int oldfd, int newfd)
89 char *getcwd(char *buf, size_t size)
90 int isatty(int fd)
91 off_t lseek(int filedes, off_t offset, int whence)
92 ssize_t read(int d, void *buf, size_t nbytes)
93 int truncate(const char *path, off_t length)
94 int unlink(const char *path)
95 ssize_t write(int fd, const void *buf, size_t nbytes)
96 int open(const char * filename, int flags, ...)
97 int creat(const char * filename, int mode)
98 int utime(const char *filename, struct utimbuf *buf)
99 int abs(int j)
100 long labs(long j)
101 double atof(const char *nptr)
102 int atoi(const char *nptr)
103 long int atol(const char *nptr)
104 long int strtol(const char * restrict nptr, char ** restrict endptr, int base)
105 unsigned long int strtoul(const char * restrict nptr, char ** restrict endptr, int base)
106 double strtod(const char * restrict nptr, char ** restrict endptr)
107 int rand(void)
108 void srand(unsigned int seed)
109 double drand48(void)
110 double erand48(unsigned short int xsubi[3])
111 long int lrand48(void)
112 long int nrand48(unsigned short int xsubi[3])
113 long int mrand48(void)
114 long int jrand48(unsigned short int xsubi[3])
115 void srand48(long int seedval)
116 unsigned short int *seed48(unsigned short int seed16v[3])
117 void lcong48(unsigned short int param[7])
118 long random(void)
119 void srandom(unsigned seed)
120 char *initstate(unsigned seed, char *state, int n)
121 char *setstate(char *state)
122 void qsort(void * array, size_t count, size_t elementsize, int (*comparefunction)(const void * element1, const void * element2))
123 void *bsearch(const void * key, const void * base, size_t count, size_t size, int (*comparefunction)(const void *, const void *))
124 void *malloc(size_t size)
125 void *calloc(size_t count, size_t size)
126 void *realloc(void *oldmem, size_t newsize)
127 void free(void *memory)
128 char *getenv(const char *name)
129 int setenv(const char *name, const char *value, int overwrite)
130 int putenv(const char *string)
131 char *mktemp(char *)
132 int system(const char *string)
133 char *gcvt(double, int, char *)
134 int mkdir(const char *path, mode_t mode)
135 int stat(const char * restrict path, struct stat * restrict sb)
136 int fstat(int fd, struct stat *sb)
137 DIR *opendir(const char *filename)
138 struct dirent *readdir(DIR *dir)
139 void rewinddir(DIR *dir)
140 int closedir(DIR *dir)
141 long telldir(DIR *dir)
142 void seekdir(DIR *dir, off_t loc)
143 int gettimeofday(struct timeval * tv, struct timezone * tz)
144 int utimes(const char *file, struct timeval tvp[2])
147 size_t strftime(char *, size_t, const char *, const struct tm *)
148 char *strerror(int n)
149 void exit(int code)
150 void abort(void)
151 int chmod(const char *path, mode_t mode)
152 struct tm *localtime(const time_t *)
153 time_t time(time_t *)
154 struct tm *gmtime(const time_t *)
155 void perror(const char *s)
156 char *ctime(const time_t *)
157 clock_t clock(void)
158 int atexit(void (*func)(void))
159 int pipe(int filedes[2])
160 int fcntl(int fd, int cmd, ...)
161 double difftime(time_t, time_t)
162 int ftruncate(int fd, off_t length)
163 mode_t umask(mode_t numask)
164 void unsetenv(const char *name)
165 char *asctime(const struct tm *)
166 unsigned sleep(unsigned)
167 int chdir(const char *path)
168 int __arosc_ioerr2errno( int ioerr )
169 .alias ioerr2errno
170 time_t mktime(struct tm *)
171 div_t div(int numer, int denom)
172 ldiv_t ldiv(long int numer, long int denom)
173 int sigaction(int, const struct sigaction *, struct sigaction *)
174 int sigaddset(sigset_t *, int)
175 int sigemptyset(sigset_t *)
176 int fchmod(int fildes, mode_t mode)
177 int sigdelset(sigset_t *, int)
178 int sigfillset(sigset_t *)
179 int sigismember(const sigset_t *, int)
180 int sigpending(sigset_t *)
181 int sigprocmask(int, const sigset_t *, sigset_t *)
182 int sigsuspend(const sigset_t *)
183 char *tmpnam(char *s)
184 void updatestdio(void)
185 void __assert (const char *, const char *, unsigned int)
186 lldiv_t lldiv(long long int numer, long long int denom)
187 long long int strtoll(const char * restrict nptr, char ** restrict endptr, int base)
188 unsigned long long int strtoull(const char * restrict nptr, char ** restrict endptr, int base)
189 int on_exit(void (*func)(int, void *), void *)
190 pid_t getpid(void)
191 FILE *popen(const char *, const char *)
192 int stcd_l(const char * in, long * lvalue)
193 int stch_l(const char * in, long * lvalue)
194 int stcl_d(char * out, long lvalue)
195 int stcl_h(char * out, long lvalue)
196 int stcl_o(char * out, long lvalue)
197 int stco_l(const char * in, long * lvalue)
198 void *realloc_nocopy(void *oldmem, size_t newsize)
199 int getfsstat (struct statfs *, long, int)
200 __sighandler_t *signal(int, __sighandler_t *)
201 void _exit(int)
202 int kill(pid_t, int)
203 char *setlocale(int category, const char *locale)
204 int pclose(FILE *)
205 int mkstemp(char *)
206 int execvp(const char *path, char *const argv[])
207 int rmdir(const char *path)
208 uid_t getuid(void)
209 uid_t geteuid(void)
210 int __arosc_nixmain(int (*main)(int argc, char *argv[]), int argc, char *argv[])
211 int spawnv(int mode, const char *path, char *const argv[])
212 int chown(const char *path, uid_t owner, gid_t group)
213 int spawnvp(int mode, const char *path, char *const argv[])
214 ssize_t readlink(const char * restrict path, char * restrict buf, int bufsize)
215 struct passwd *getpwuid(uid_t uid)
216 struct group *getgrgid(gid_t gid)
217 gid_t getgid(void)
218 gid_t getegid(void)
219 struct passwd *getpwnam(const char *name)
220 void setpwent(void)
221 struct passwd *getpwent(void)
222 void endpwent(void)
223 int getgroups(int gidsetlen, gid_t *gidset)
224 struct group *getgrnam(const char *name)
225 void endgrent(void)
226 struct group *getgrent(void)
227 void setgrent(void)
228 int fchown(int fd, uid_t owner, gid_t group)
229 int fsync(int fd)
230 int link(const char *name1, const char *name2)
231 int symlink(const char *name1, const char *name2)
232 int mknod(const char *path, mode_t mode, dev_t dev)
233 pid_t getppid(void)
234 int execl(const char *path, const char *arg, ...)
235 pid_t getpgrp(void)
236 int ioctl(int fd, int request, ...)
237 pid_t wait(int *status)
238 int setuid(uid_t uid)
239 int setgid(gid_t gid)
240 int getw(FILE *stream)
241 int putw(int word, FILE *stream)
242 int getloadavg(double loadavg[], int n)
243 int raise(int)
244 clock_t times(struct tms *buffer)
245 int ftime(struct timeb *tp)
246 char *strsep(char **, const char *)
247 char *tempnam(const char *dir, const char *pfx)
248 FILE *tmpfile(void)
249 int posix_memalign(void **memptr, size_t alignment, size_t size)
250 struct tm *localtime_r(const time_t *, struct tm *)
251 struct tm *gmtime_r(const time_t *, struct tm *)
252 char *ctime_r(const time_t *, char *)
253 char *asctime_r(const struct tm *, char *)
254 char *basename(char *)
255 int dirfd(DIR *dir)
256 char *dirname(char *)
257 struct lconv *localeconv(void)
258 int iswalnum(wint_t wc)
259 int iswalpha(wint_t wc)
260 int iswcntrl(wint_t wc)
261 int iswdigit(wint_t wc)
262 int iswgraph(wint_t wc)
263 int iswlower(wint_t wc)
264 int iswprint(wint_t wc)
265 int iswpunct(wint_t wc)
266 int iswspace(wint_t wc)
267 int iswupper(wint_t wc)
268 int iswxdigit(wint_t wc)
269 int iswctype(wint_t wc, wctype_t desc)
270 wint_t towlower(wint_t wc)
271 wint_t towupper(wint_t wc)
272 wint_t towctrans(wint_t wc, wctrans_t desc)
273 wctrans_t wctrans(const char *property)
274 wctype_t wctype(const char *property)
275 size_t mbrtowc(wchar_t * restrict pwc, const char * restrict s, size_t n, mbstate_t * restrict ps)
276 size_t wcrtomb(char * restrict s, wchar_t wc, mbstate_t * restrict ps)
277 int regcomp(regex_t * __restrict, const char * __restrict, int)
278 size_t regerror(int, const regex_t * __restrict, char * __restrict, size_t)
279 int regexec(const regex_t * __restrict, const char * __restrict, size_t, regmatch_t * __restrict, int)
280 void regfree(regex_t *)
281 int putc(int, FILE *)
282 #.function fputc
283 int getc(FILE *)
284 #.function fgetc
285 int getchar(void)
286 char *gets(char *s)
287 size_t mbrlen(const char * restrict s, size_t n, mbstate_t * restrict ps)
288 int mbsinit(const mbstate_t *ps)
289 int __get_default_file(int file_descriptor, long* file_handle)
290 int statfs(const char *path, struct statfs *buf)
291 int usleep(useconds_t usec)
292 char *ttyname(int fd)
293 char *getlogin(void)
294 int fchdir(int fd)
295 int uname(struct utsname *name)
296 int __env_get_environ(char **environ, int size)
297 int execve(const char *filename, char *const argv[], char *const envp[])
298 char *strptime(const char *s, const char *format, struct tm *tm)
299 pid_t vfork(void)
300 pid_t waitpid(pid_t pid, int *status, int options)
301 int execv(const char *path, char *const argv[])
302 int execlp(const char *file, const char *arg, ...)
303 int flock(int fd, int operation)
304 intmax_t strtoimax(const char *nptr, char **endptr, int base)
305 uintmax_t strtoumax(const char *nptr, char **endptr, int base)
306 void sharecontextwithchild(int share)
307 long sysconf(int name)
308 int lstat(const char *path, struct stat *sb)
309 void __arosc_program_startup(void)
310 void __arosc_program_end(void)
311 int nanosleep(const struct timespec *req, struct timespec *rem)
312 int fseeko(FILE *stream, off_t offset, int whence)
313 off_t ftello(FILE *stream)
314 long pathconf(const char *path, int name)
315 char *realpath(const char *path, char *resolved_path)
316 void sync()
317 int tcgetattr(int __fd, struct termios *__termios_p)
318 int tcsetattr(int __fd, int __optional_actions, const struct termios *__termios_p)
319 speed_t cfgetispeed(const struct termios *__termios_p)
320 speed_t cfgetospeed(const struct termios *__termios_p)
321 int cfsetispeed(struct termios *__termios_p, speed_t speed)
322 int cfsetospeed(struct termios *__termios_p, speed_t speed)
323 struct arosc_userdata *__get_arosc_userdata(void)
324 .version 43
325 const struct arosc_ctype *__get_arosc_ctype(void)
326 int getrlimit(int resource, struct rlimit *rlp)
327 int setrlimit(int resource, const struct rlimit *rlp)
328 ##end functionlist