0.6.12.16:
[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 F(setrlimit)
132 F(setsockopt)
133 F(settimeofday)
134 F(shutdown)
135 #ifndef SVR4
136 F(sigblock)
137 #endif
138 F(sigpause)
139 #if !defined(ibmrt) && !defined(hpux) && !defined(SVR4) && !defined(__i386__)
140 F(sigreturn)
141 #endif
142 #if !defined(SVR4) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
143 F(sigsetmask)
144 F(sigstack)
145 F(sigvec)
146 #endif
147 F(socket)
148 F(socketpair)
149 F(stat)
150 #ifndef SVR4
151 F(swapon)
152 #endif
153 F(symlink)
154 F(sync)
155 F(syscall)
156 #if defined(hpux) || defined(SVR4) || defined(linux)
157 F(closedir)
158 F(opendir)
159 #if defined(readdir)
160 #undef reddir
161 #endif
162 F(readdir)
163 #endif
164 #if defined(hpux) \
165      || defined(SVR4) \
166      || defined(__FreeBSD__) \
167      || defined(__OpenBSD__) \
168      || defined(__linux__)
169 F(tcgetattr)
170 F(tcsetattr)
171 F(tcsendbreak)
172 F(tcdrain)
173 F(tcflush)
174 F(tcflow)
175 #endif
176 #if defined(SOLARIS)
177 F(times)
178 #endif
179 F(truncate)
180 F(umask)
181 #if !defined(SUNOS) \
182      && !defined(parisc) \
183      && !defined(SOLARIS) \
184      && !defined(__OpenBSD__) \
185      && !defined(__FreeBSD__)
186 F(umount)
187 #endif
188 F(unlink)
189 #ifndef hpux
190 F(utimes)
191 #endif
192 #ifndef irix
193 F(vfork)
194 #endif
195 #if !defined(osf1) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
196 F(vhangup)
197 #endif
198 F(wait)
199 #if !defined(SOLARIS) ||  defined(SOLARIS25)
200 F(wait3)
201 #endif
202 F(write)
203 F(writev)
204
205 /* Math routines. */
206 F(cos)
207 F(sin)
208 F(tan)
209 F(acos)
210 F(asin)
211 F(atan)
212 F(atan2)
213 F(sinh)
214 F(cosh)
215 F(tanh)
216 F(asinh)
217 F(acosh)
218 F(atanh)
219 F(exp)
220 #ifndef hpux
221 F(expm1)
222 #endif
223 F(log)
224 F(log10)
225 #ifndef hpux
226 F(log1p)
227 #endif
228 F(pow)
229 #ifndef hpux
230 F(cbrt)
231 #endif
232 #ifndef __i386__
233 F(sqrt)
234 #endif
235 F(hypot)
236
237 /* Network support. */
238 F(gethostbyname)
239 F(gethostbyaddr)
240
241 /* Other miscellaneous things. */
242 #if defined(SVR4) || defined(__FreeBSD__)
243 F(setpgid)
244 F(getpgid)
245 D(timezone)
246 #if !defined(__FreeBSD__)
247 D(altzone)
248 D(daylight)
249 #endif
250 D(tzname)
251 #endif
252 #if !defined (SOLARIS) ||  defined(SOLARIS25)
253 F(getwd)
254 #endif
255 F(ttyname)
256
257 #ifdef irix
258 F(_getpty)
259 #endif
260
261 F(dlopen)
262 F(dlsym)
263 F(dlclose)
264 F(dlerror)