added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / compiler / clib / include / sys / syscall.def
blobe29db510065d3979ebcd89d92446a6ffb49d1a99
1 /* SYSTEM_CALL (<syscall name> [, <syscall alias>]) */
3 SYSTEM_CALL (fopen)
4 SYSTEM_CALL (fdopen)
5 SYSTEM_CALL (fclose)
6 SYSTEM_CALL (printf)
7 SYSTEM_CALL (vprintf)
8 SYSTEM_CALL (fprintf)
9 SYSTEM_CALL (vfprintf)
10 SYSTEM_CALL (fputc, putc)
11 SYSTEM_CALL (fputs)
12 SYSTEM_CALL (puts)
13 SYSTEM_CALL (fflush)
14 SYSTEM_CALL (fgetc, getc)
15 SYSTEM_CALL (ungetc)
16 SYSTEM_CALL (fgets)
17 SYSTEM_CALL (feof)
18 SYSTEM_CALL (ferror)
19 SYSTEM_CALL (fileno)
20 SYSTEM_CALL (freopen)
21 SYSTEM_CALL (clearerr)
22 SYSTEM_CALL (fread)
23 SYSTEM_CALL (fwrite)
24 SYSTEM_CALL (rename)
25 SYSTEM_CALL (sprintf)
26 SYSTEM_CALL (vsprintf)
27 SYSTEM_CALL (snprintf)
28 SYSTEM_CALL (vsnprintf)
29 SYSTEM_CALL (scanf)
30 SYSTEM_CALL (vscanf)
31 SYSTEM_CALL (fscanf)
32 SYSTEM_CALL (vfscanf)
33 SYSTEM_CALL (sscanf)
34 SYSTEM_CALL (vsscanf)
35 SYSTEM_CALL (fseek)
36 SYSTEM_CALL (ftell)
37 SYSTEM_CALL (rewind)
38 SYSTEM_CALL (fgetpos)
39 SYSTEM_CALL (fsetpos)
40 SYSTEM_CALL (remove)
41 SYSTEM_CALL (setbuf)
42 SYSTEM_CALL (setlinebuf)
43 SYSTEM_CALL (setvbuf)
44 SYSTEM_CALL (__vcformat)
45 SYSTEM_CALL (__vcscan)
46 SYSTEM_CALL (access)
47 SYSTEM_CALL (close)
48 SYSTEM_CALL (dup)
49 SYSTEM_CALL (dup2)
50 SYSTEM_CALL (getcwd)
51 SYSTEM_CALL (isatty)
52 SYSTEM_CALL (lseek)
53 SYSTEM_CALL (read)
54 SYSTEM_CALL (truncate)
55 SYSTEM_CALL (unlink)
56 SYSTEM_CALL (write)
57 SYSTEM_CALL (open)
58 SYSTEM_CALL (creat)
59 SYSTEM_CALL (utime)
60 SYSTEM_CALL (abs)
61 SYSTEM_CALL (labs)
62 SYSTEM_CALL (atof)
63 SYSTEM_CALL (atoi)
64 SYSTEM_CALL (atol)
65 SYSTEM_CALL (strtol)
66 SYSTEM_CALL (strtoul)
67 SYSTEM_CALL (strtod)
68 SYSTEM_CALL (rand)
69 SYSTEM_CALL (srand)
70 SYSTEM_CALL (drand48)
71 SYSTEM_CALL (erand48)
72 SYSTEM_CALL (lrand48)
73 SYSTEM_CALL (nrand48)
74 SYSTEM_CALL (mrand48)
75 SYSTEM_CALL (jrand48)
76 SYSTEM_CALL (srand48)
77 SYSTEM_CALL (seed48)
78 SYSTEM_CALL (lcong48)
79 SYSTEM_CALL (random)
80 SYSTEM_CALL (srandom)
81 SYSTEM_CALL (initstate)
82 SYSTEM_CALL (setstate)
83 SYSTEM_CALL (qsort)
84 SYSTEM_CALL (bsearch)
85 SYSTEM_CALL (malloc)
86 SYSTEM_CALL (calloc)
87 SYSTEM_CALL (realloc)
88 SYSTEM_CALL (free)
89 SYSTEM_CALL (getenv)
90 SYSTEM_CALL (setenv)
91 SYSTEM_CALL (putenv)
92 SYSTEM_CALL (mktemp)
93 SYSTEM_CALL (system)
94 SYSTEM_CALL (gcvt)
95 SYSTEM_CALL (mkdir)
96 SYSTEM_CALL (stat)
97 SYSTEM_CALL (fstat)
98 SYSTEM_CALL (opendir)
99 SYSTEM_CALL (readdir)
100 SYSTEM_CALL (rewinddir)
101 SYSTEM_CALL (closedir)
102 SYSTEM_CALL (telldir)
103 SYSTEM_CALL (seekdir)
104 SYSTEM_CALL (gettimeofday)
105 SYSTEM_CALL (utimes)
106 SYSTEM_CALL (arosc_internalinit)
107 SYSTEM_CALL (arosc_internalexit)
108 SYSTEM_CALL (strftime)
109 SYSTEM_CALL (strerror)
110 SYSTEM_CALL (exit)
111 SYSTEM_CALL (abort)
112 SYSTEM_CALL (chmod)
113 SYSTEM_CALL (localtime)
114 SYSTEM_CALL (time)
115 SYSTEM_CALL (gmtime)
116 SYSTEM_CALL (perror)
117 SYSTEM_CALL (ctime)
118 SYSTEM_CALL (clock)
119 SYSTEM_CALL (atexit)
120 SYSTEM_CALL (pipe)
121 SYSTEM_CALL (fcntl)
122 SYSTEM_CALL (difftime)
123 SYSTEM_CALL (ftruncate)
124 SYSTEM_CALL (umask)
125 SYSTEM_CALL (unsetenv)
126 SYSTEM_CALL (asctime)
127 SYSTEM_CALL (sleep)
128 SYSTEM_CALL (chdir)
129 SYSTEM_CALL (IoErr2errno)
130 SYSTEM_CALL (mktime)
131 SYSTEM_CALL (div)
132 SYSTEM_CALL (ldiv)
133 SYSTEM_CALL (sigaction)
134 SYSTEM_CALL (sigaddset)
135 SYSTEM_CALL (sigemptyset)
136 SYSTEM_CALL (fchmod)
137 SYSTEM_CALL (sigdelset)
138 SYSTEM_CALL (sigfillset)
139 SYSTEM_CALL (sigismember)
140 SYSTEM_CALL (sigpending)
141 SYSTEM_CALL (sigprocmask)
142 SYSTEM_CALL (sigsuspend)
143 SYSTEM_CALL (tmpnam)
144 SYSTEM_CALL (updatestdio)
145 SYSTEM_CALL (__assert)
146 SYSTEM_CALL (lldiv)
147 SYSTEM_CALL (strtoll)
148 SYSTEM_CALL (strtoull)
149 SYSTEM_CALL (on_exit)
150 SYSTEM_CALL (getpid)
151 SYSTEM_CALL (popen)
152 SYSTEM_CALL (stcd_l)
153 SYSTEM_CALL (stch_l)
154 SYSTEM_CALL (stcl_d)
155 SYSTEM_CALL (stcl_h)
156 SYSTEM_CALL (stcl_o)
157 SYSTEM_CALL (stco_l)
158 SYSTEM_CALL (realloc_nocopy)
159 SYSTEM_CALL (getfsstat)
160 SYSTEM_CALL (signal)
161 SYSTEM_CALL (_exit)
162 SYSTEM_CALL (kill)
163 SYSTEM_CALL (setlocale)
164 SYSTEM_CALL (pclose)
165 SYSTEM_CALL (mkstemp)
166 SYSTEM_CALL (execvp)
167 SYSTEM_CALL (rmdir)
168 SYSTEM_CALL (getuid)
169 SYSTEM_CALL (geteuid)
170 SYSTEM_CALL (__get_arosc_userdata)
171 SYSTEM_CALL (__arosc_nixmain)
172 SYSTEM_CALL (spawnv)
173 SYSTEM_CALL (chown)
174 SYSTEM_CALL (spawnvp)
175 SYSTEM_CALL (readlink)
176 SYSTEM_CALL (getpwuid)
177 SYSTEM_CALL (getgrgid)
178 SYSTEM_CALL (getgid)
179 SYSTEM_CALL (getegid)
180 SYSTEM_CALL (getpwnam)
181 SYSTEM_CALL (setpwent)
182 SYSTEM_CALL (getpwent)
183 SYSTEM_CALL (endpwent)
184 SYSTEM_CALL (getgroups)
185 SYSTEM_CALL (getgrnam)
186 SYSTEM_CALL (endgrent)
187 SYSTEM_CALL (getgrent)
188 SYSTEM_CALL (setgrent)
189 SYSTEM_CALL (fchown)
190 SYSTEM_CALL (fsync)
191 SYSTEM_CALL (link)
192 SYSTEM_CALL (symlink)
193 SYSTEM_CALL (mknod)
194 SYSTEM_CALL (getppid)
195 SYSTEM_CALL (execl)
196 SYSTEM_CALL (getpgrp)
197 SYSTEM_CALL (ioctl)
198 SYSTEM_CALL (wait)
199 SYSTEM_CALL (setuid)
200 SYSTEM_CALL (setgid)
201 SYSTEM_CALL (getw)
202 SYSTEM_CALL (putw)
203 SYSTEM_CALL (getloadavg)
204 SYSTEM_CALL (raise)
205 SYSTEM_CALL (times)
206 SYSTEM_CALL (ftime)
207 SYSTEM_CALL (strsep)
208 SYSTEM_CALL (tempnam)
209 SYSTEM_CALL (tmpfile)
210 SYSTEM_CALL (posix_memalign)
211 SYSTEM_CALL (localtime_r)
212 SYSTEM_CALL (gmtime_r)
213 SYSTEM_CALL (ctime_r)
214 SYSTEM_CALL (asctime_r)
215 SYSTEM_CALL (basename)
216 SYSTEM_CALL (dirfd)
217 SYSTEM_CALL (dirname)
218 SYSTEM_CALL (localeconv)
219 SYSTEM_CALL (iswalnum)
220 SYSTEM_CALL (iswalpha)
221 SYSTEM_CALL (iswcntrl)
222 SYSTEM_CALL (iswdigit)
223 SYSTEM_CALL (iswgraph)
224 SYSTEM_CALL (iswlower)
225 SYSTEM_CALL (iswprint)
226 SYSTEM_CALL (iswpunct)
227 SYSTEM_CALL (iswspace)
228 SYSTEM_CALL (iswupper)
229 SYSTEM_CALL (iswxdigit)
230 SYSTEM_CALL (iswctype)
231 SYSTEM_CALL (towlower)
232 SYSTEM_CALL (towupper)
233 SYSTEM_CALL (towctrans)
234 SYSTEM_CALL (wctrans)
235 SYSTEM_CALL (wctype)
236 SYSTEM_CALL (mbrtowc)
237 SYSTEM_CALL (wcrtomb)
238 SYSTEM_CALL (regcomp)
239 SYSTEM_CALL (regerror)
240 SYSTEM_CALL (regexec)
241 SYSTEM_CALL (regfree)
242 SYSTEM_CALL (putc)
243 SYSTEM_CALL (getc)
244 SYSTEM_CALL (getchar)
245 SYSTEM_CALL (gets)