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