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