443afa7f34e39d3835dca1b244e63d6361a939c6
[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 F(gethostname)
60 F(getitimer)
61 #if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25)
62 F(getpagesize)
63 #endif
64 F(getpeername)
65 F(getpgrp)
66 F(getpid)
67 F(getppid)
68 #if !defined(SVR4)  ||  defined(SOLARIS25)
69 F(getpriority)
70 #endif
71 F(getrlimit)
72 #if !defined(SOLARIS) ||  defined(SOLARIS25)
73 F(getrusage)
74 #endif
75 F(getsockname)
76 F(getsockopt)
77 F(gettimeofday)
78 F(getuid)
79 F(ioctl)
80 F(kill)
81 #if !defined(SOLARIS) || defined(SOLARIS25)
82 F(killpg)
83 #endif
84 F(link)
85 F(listen)
86 F(lseek)
87 F(lstat)
88 F(mkdir)
89 F(mknod)
90 F(mmap)
91 F(mount)
92 F(munmap)
93 F(open)
94 F(pipe)
95 F(profil)
96 F(ptrace)
97 #ifdef mach
98 F(quota)
99 #endif
100 F(read)
101 F(readlink)
102 F(readv)
103 #ifndef SVR4
104 F(reboot)
105 #endif
106 F(recv)
107 F(recvfrom)
108 F(recvmsg)
109 F(rename)
110 F(rmdir)
111 F(sbrk)
112 F(select)
113 F(send)
114 F(sendmsg)
115 F(sendto)
116 F(setgroups)
117 #if !defined(SUNOS) && !(defined(SOLARIS) ||  defined(SOLARIS25))
118 F(sethostid)
119 #endif
120 #if !defined(SVR4) ||  defined(SOLARIS25)
121 F(sethostname)
122 #endif
123 F(setitimer)
124 F(setpgrp)
125 #if !defined(SVR4) ||  defined(SOLARIS25)
126 F(setpriority)
127 #endif
128 F(setrlimit)
129 F(setsockopt)
130 F(settimeofday)
131 F(shutdown)
132 #ifndef SVR4
133 F(sigblock)
134 #endif
135 F(sigpause)
136 #if !defined(hpux) && !defined(SVR4) && !defined(__i386__)
137 F(sigreturn)
138 #endif
139 #if !defined(SVR4) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
140 F(sigsetmask)
141 F(sigstack)
142 F(sigvec)
143 #endif
144 F(socket)
145 F(socketpair)
146 F(stat)
147 #ifndef SVR4
148 F(swapon)
149 #endif
150 F(symlink)
151 F(sync)
152 F(syscall)
153 #if defined(hpux) || defined(SVR4) || defined(__linux__)
154 F(closedir)
155 F(opendir)
156 #if defined(readdir)
157 #undef reddir
158 #endif
159 F(readdir)
160 #endif
161 #if defined(hpux) \
162      || defined(SVR4) \
163      || defined(__FreeBSD__) \
164      || defined(__OpenBSD__) \
165      || defined(__linux__)
166 F(tcgetattr)
167 F(tcsetattr)
168 F(tcsendbreak)
169 F(tcdrain)
170 F(tcflush)
171 F(tcflow)
172 #endif
173 #if defined(SOLARIS)
174 F(times)
175 #endif
176 F(truncate)
177 F(umask)
178 #if !defined(SUNOS) \
179      && !defined(parisc) \
180      && !defined(SOLARIS) \
181      && !defined(__OpenBSD__) \
182      && !defined(__FreeBSD__)
183 F(umount)
184 #endif
185 F(unlink)
186 #ifndef hpux
187 F(utimes)
188 #endif
189 #ifndef irix
190 F(vfork)
191 #endif
192 #if !defined(osf1) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
193 F(vhangup)
194 #endif
195 F(wait)
196 #if !defined(SOLARIS) ||  defined(SOLARIS25)
197 F(wait3)
198 #endif
199 F(write)
200 F(writev)
201
202 /* math routines */
203 F(cos)
204 F(sin)
205 F(tan)
206 F(acos)
207 F(asin)
208 F(atan)
209 F(atan2)
210 F(sinh)
211 F(cosh)
212 F(tanh)
213 F(asinh)
214 F(acosh)
215 F(atanh)
216 F(exp)
217 #ifndef hpux
218 F(expm1)
219 #endif
220 F(log)
221 F(log10)
222 #ifndef hpux
223 F(log1p)
224 #endif
225 F(pow)
226 #ifndef hpux
227 F(cbrt)
228 #endif
229 #ifndef __i386__
230 F(sqrt)
231 #endif
232 F(hypot)
233
234 /* network support */
235 F(gethostbyname)
236 F(gethostbyaddr)
237
238 /* other miscellaneous things */
239 #if defined(SVR4) || defined(__FreeBSD__)
240 F(setpgid)
241 F(getpgid)
242 D(timezone)
243 #if !defined(__FreeBSD__)
244 D(altzone)
245 D(daylight)
246 #endif
247 D(tzname)
248 #endif
249 F(getcwd)
250 F(ttyname)
251
252 #ifdef irix
253 F(_getpty)
254 #endif
255
256 F(dlopen)
257 F(dlsym)
258 F(dlclose)
259 F(dlerror)