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