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