2d73046761a869d22dfbc01f02f0ce1a8e424207
[sbcl.git] / src / runtime / undefineds.h
1 /*
2  * routines that must be linked into the core for Lisp to work
3  */
4
5 /*
6  * This software is part of the SBCL system. See the README file for
7  * more information.
8  *
9  * This software is derived from the CMU CL system, which was
10  * written at Carnegie Mellon University and released into the
11  * public domain. The software is in the public domain and is
12  * provided with absolutely no warranty. See the COPYING and CREDITS
13  * files for more information.
14  */
15
16 /* Pick up all the syscalls. */
17 F(accept)
18 F(access)
19 F(acct)
20 #ifndef hpux
21 F(adjtime)
22 #endif
23 F(bind)
24 F(brk)
25 #if defined(hpux) \
26      || defined(SVR4) \
27      || defined(__FreeBSD__) \
28      || defined(__OpenBSD__)
29 F(cfgetospeed)
30 F(cfsetospeed)
31 F(cfgetispeed)
32 F(cfsetispeed)
33 #endif
34 F(chdir)
35 F(chmod)
36 F(chown)
37 F(chroot)
38 F(close)
39 F(connect)
40 F(creat)
41 F(dup)
42 F(dup2)
43 F(execve)
44 F(exit)
45 F(fchmod)
46 F(fchown)
47 F(fcntl)
48 #if !defined(hpux) && !defined(SVR4)
49 F(flock)
50 #endif
51 F(fork)
52 F(fstat)
53 F(fsync)
54 F(ftruncate)
55 #if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25) || defined(irix)
56 F(getdtablesize)
57 #endif
58 F(getegid)
59 F(geteuid)
60 F(getgid)
61 F(getgroups)
62 #if !defined (SOLARIS) || defined(SOLARIS25)
63 F(gethostid)
64 #endif
65 F(gethostname)
66 F(getitimer)
67 #if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25)
68 F(getpagesize)
69 #endif
70 F(getpeername)
71 F(getpgrp)
72 F(getpid)
73 F(getppid)
74 #if !defined(SVR4)  ||  defined(SOLARIS25)
75 F(getpriority)
76 #endif
77 F(getrlimit)
78 #if !defined(SOLARIS) ||  defined(SOLARIS25)
79 F(getrusage)
80 #endif
81 F(getsockname)
82 F(getsockopt)
83 F(gettimeofday)
84 F(getuid)
85 F(ioctl)
86 F(kill)
87 #if !defined(SOLARIS) || defined(SOLARIS25)
88 F(killpg)
89 #endif
90 F(link)
91 F(listen)
92 F(lseek)
93 F(lstat)
94 F(mkdir)
95 F(mknod)
96 F(mmap)
97 F(mount)
98 F(munmap)
99 F(open)
100 F(pipe)
101 F(profil)
102 F(ptrace)
103 #ifdef mach
104 F(quota)
105 #endif
106 F(read)
107 F(readlink)
108 F(readv)
109 #ifndef SVR4
110 F(reboot)
111 #endif
112 F(recv)
113 F(recvfrom)
114 F(recvmsg)
115 F(rename)
116 F(rmdir)
117 F(sbrk)
118 F(select)
119 F(send)
120 F(sendmsg)
121 F(sendto)
122 F(setgroups)
123 #if !defined(SUNOS) && !(defined(SOLARIS) ||  defined(SOLARIS25))
124 F(sethostid)
125 #endif
126 #if !defined(SVR4) ||  defined(SOLARIS25)
127 F(sethostname)
128 #endif
129 F(setitimer)
130 F(setpgrp)
131 #if !defined(SVR4) ||  defined(SOLARIS25)
132 F(setpriority)
133 #endif
134 #if !defined(mach) \
135      && !defined(SOLARIS) \
136      && !defined(__FreeBSD__) \
137      && !defined(__OpenBSD__) \
138      && !defined(SUNOS) \
139      && !defined(osf1) \
140      && !defined(irix) \
141      && !defined(hpux)
142 F(setquota)
143 #endif
144 #if !defined(hpux) && !defined(SVR4) ||  defined(SOLARIS25)
145 F(setregid)
146 F(setreuid)
147 #endif
148 F(setrlimit)
149 F(setsockopt)
150 F(settimeofday)
151 F(shutdown)
152 #ifndef SVR4
153 F(sigblock)
154 #endif
155 F(sigpause)
156 #if !defined(ibmrt) && !defined(hpux) && !defined(SVR4) && !defined(__i386__)
157 F(sigreturn)
158 #endif
159 #if !defined(SVR4) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
160 F(sigsetmask)
161 F(sigstack)
162 F(sigvec)
163 #endif
164 F(socket)
165 F(socketpair)
166 F(stat)
167 #ifndef SVR4
168 F(swapon)
169 #endif
170 F(symlink)
171 F(sync)
172 F(syscall)
173 #if defined(hpux) || defined(SVR4)
174 F(closedir)
175 F(opendir)
176 F(readdir)
177 #endif
178 #if defined(hpux) \
179      || defined(SVR4) \
180      || defined(__FreeBSD__) \
181      || defined(__OpenBSD__) \
182      || defined(__linux__)
183 F(tcgetattr)
184 F(tcsetattr)
185 F(tcsendbreak)
186 F(tcdrain)
187 F(tcflush)
188 F(tcflow)
189 #endif
190 #if defined(SOLARIS)
191 F(times)
192 #endif
193 F(truncate)
194 F(umask)
195 #if !defined(SUNOS) \
196      && !defined(parisc) \
197      && !defined(SOLARIS) \
198      && !defined(__OpenBSD__) \
199      && !defined(__FreeBSD__)
200 F(umount)
201 #endif
202 F(unlink)
203 #ifndef hpux
204 F(utimes)
205 #endif
206 #ifndef irix
207 F(vfork)
208 #endif
209 #if !defined(osf1) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
210 F(vhangup)
211 #endif
212 F(wait)
213 #if !defined(SOLARIS) ||  defined(SOLARIS25)
214 F(wait3)
215 #endif
216 F(write)
217 F(writev)
218
219 /* Math routines. */
220 F(cos)
221 F(sin)
222 F(tan)
223 F(acos)
224 F(asin)
225 F(atan)
226 F(atan2)
227 F(sinh)
228 F(cosh)
229 F(tanh)
230 F(asinh)
231 F(acosh)
232 F(atanh)
233 F(exp)
234 #ifndef hpux
235 F(expm1)
236 #endif
237 F(log)
238 F(log10)
239 #ifndef hpux
240 F(log1p)
241 #endif
242 F(pow)
243 #ifndef hpux
244 F(cbrt)
245 #endif
246 #ifndef __i386__
247 F(sqrt)
248 #endif
249 F(hypot)
250
251 /* Network support. */
252 F(gethostbyname)
253 F(gethostbyaddr)
254
255 /* Other miscellaneous things. */
256 #if defined(SVR4) || defined(__FreeBSD__)
257 F(setpgid)
258 F(getpgid)
259 D(timezone)
260 #if !defined(__FreeBSD__)
261 D(altzone)
262 D(daylight)
263 #endif
264 D(tzname)
265 F(dlopen)
266 F(dlsym)
267 F(dlclose)
268 F(dlerror)
269 #endif
270 #if !defined (SOLARIS) ||  defined(SOLARIS25)
271 F(getwd)
272 #endif
273 F(ttyname)
274
275 #ifdef irix
276 F(_getpty)
277 #endif