Skip to content
undefineds.h 3.9 KiB
Newer Older
wlott's avatar
wlott committed
/* Routines that must be linked into the core for lisp to work. */
/* $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/undefineds.h,v 1.24 2001/12/06 19:15:45 pmai Exp $ */
wlott's avatar
wlott committed

/* Pick up all the syscalls. */
#if defined(hpux) || defined(SVR4) || defined(__FreeBSD__) || defined(__OpenBSD__)
F(cfgetospeed)
F(cfsetospeed)
F(cfgetispeed)
F(cfsetispeed)
#endif
F(chdir)
F(chmod)
F(chown)
F(chroot)
F(close)
F(connect)
F(creat)
F(dup)
F(dup2)
F(execve)
F(exit)
F(fchmod)
F(fchown)
F(fcntl)
#if !defined(hpux) && !defined(SVR4)
F(flock)
#endif
F(fork)
F(fstat)
F(fsync)
F(ftruncate)
#if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25) || defined(irix)
F(getdtablesize)
#endif
F(getegid)
F(geteuid)
F(getgid)
F(getgroups)
pw's avatar
pw committed
#if !defined (SOLARIS) || defined(SOLARIS25)
pw's avatar
pw committed
#if !defined(hpux) && !defined(SVR4) || defined(SOLARIS25)
F(getpeername)
F(getpgrp)
F(getpid)
F(getppid)
pw's avatar
pw committed
#if !defined(SVR4)  ||  defined(SOLARIS25)
pw's avatar
pw committed
#if !defined(SOLARIS) ||  defined(SOLARIS25)
F(getrusage)
#endif
F(getsockname)
F(getsockopt)
F(gettimeofday)
F(getuid)
F(ioctl)
F(kill)
dtc's avatar
dtc committed
#if !defined(SOLARIS) || defined(SOLARIS25)
F(killpg)
#endif
F(link)
F(listen)
F(lseek)
F(lstat)
F(mkdir)
F(mknod)
F(mmap)
F(munmap)
wlott's avatar
wlott committed
#endif
F(reboot)
#endif
F(recv)
F(recvfrom)
F(recvmsg)
F(rename)
F(rmdir)
F(sbrk)
F(select)
F(send)
F(sendmsg)
F(sendto)
F(setgroups)
dtc's avatar
dtc committed
#if !defined(SUNOS) && !(defined(SOLARIS) ||  defined(SOLARIS25))
wlott's avatar
wlott committed
#endif
pw's avatar
pw committed
#if !defined(SVR4) ||  defined(SOLARIS25)
pw's avatar
pw committed
#if !defined(SVR4) ||  defined(SOLARIS25)
#if !defined(mach) && !defined(SOLARIS) && !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(SUNOS) && !defined(osf1) && !defined(irix) && !defined(hpux) && !(defined(linux) && defined(alpha))
wlott's avatar
wlott committed
#endif
pw's avatar
pw committed
#if !defined(hpux) && !defined(SVR4) ||  defined(SOLARIS25)
F(setrlimit)
F(setsockopt)
F(settimeofday)
F(shutdown)
ram's avatar
ram committed
#if !defined(ibmrt) && !defined(hpux) && !defined(SVR4) && !defined(i386)
wlott's avatar
wlott committed
#endif
#if !defined(SVR4) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
hallgren's avatar
hallgren committed
#endif
pw's avatar
pw committed
#if defined(hpux) || defined(SVR4)
#if defined(hpux) || defined(SVR4) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__linux__)
F(tcgetattr)
F(tcsetattr)
F(tcsendbreak)
F(tcdrain)
F(tcflush)
F(tcflow)
#endif
dtc's avatar
dtc committed
#if defined(SOLARIS)
F(times)
#endif
ram's avatar
ram committed
#if !defined(SUNOS) && !defined(parisc) && !defined(SOLARIS) \
  && !defined(__FreeBSD__) && !defined(__OpenBSD__)
wlott's avatar
wlott committed
#endif
hallgren's avatar
hallgren committed
#ifndef irix
hallgren's avatar
hallgren committed
#endif
#if !defined(osf1) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
hallgren's avatar
hallgren committed
#endif
pw's avatar
pw committed
#if !defined(SOLARIS) ||  defined(SOLARIS25)
wlott's avatar
wlott committed

/* Math routines. */
F(cos)
F(sin)
F(tan)
F(acos)
F(asin)
F(atan)
F(atan2)
F(sinh)
F(cosh)
F(tanh)
F(asinh)
F(acosh)
F(atanh)
F(exp)
ram's avatar
ram committed
#ifndef i386
ram's avatar
ram committed
#endif
wlott's avatar
wlott committed

/* Network support. */
wlott's avatar
wlott committed

/* Other random things. */
pw's avatar
pw committed
#if defined(SVR4) 
F(setpgid)
F(getpgid)
D(timezone)
D(altzone)
D(daylight)
D(tzname)
F(dlopen)
F(dlsym)
F(dlclose)
F(dlerror)
ram's avatar
ram committed
#endif
pw's avatar
pw committed
#if !defined (SOLARIS) ||  defined(SOLARIS25)
hallgren's avatar
hallgren committed

hallgren's avatar
hallgren committed
#ifdef irix
hallgren's avatar
hallgren committed
#endif
pw's avatar
pw committed

#if ( defined(alpha) && defined(linux) )
F(dlopen)
F(dlsym)
F(dlclose)
F(dlerror)
F(cfgetospeed)
F(cfgetispeed)
F(cfsetispeed)
#endif