Skip to content
undefineds.h 4.63 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.34 2004/07/13 00:26:22 pmai Exp $ */
wlott's avatar
wlott committed

/* Pick up all the syscalls. */
#if defined(hpux) || defined(SVR4) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
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(__NetBSD__) && !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(setgid)
F(setuid)
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__) && !defined(__NetBSD__) && !defined(DARWIN)
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(__NetBSD__) || 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__) && !defined(__NetBSD__) \
  && !defined(DARWIN)
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__) && !defined(__NetBSD__) && !defined(DARWIN)
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)
#endif

#if defined(SVR4) || defined(__OpenBSD__)
ram's avatar
ram committed
#endif
pw's avatar
pw committed
#if !defined (SOLARIS) ||  defined(SOLARIS25)
toy's avatar
toy committed
F(getcwd)  
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)
toy's avatar
toy committed
F(cfsetospeed)
pw's avatar
pw committed
F(cfgetispeed)
F(cfsetispeed)
toy's avatar
toy committed
F(opendir)
F(closedir)
F(readdir)
F(sched_yield)
F(setpgid)
D(tzname)
D(errno)
F(open64)
F(creat64)
F(lseek64)
F(truncate64)
F(ftruncate64)
F(stat64)
F(fstat64)
F(lstat64)
F(readdir64)
F(statfs64)
F(lockf64)
pw's avatar
pw committed
#endif
#if defined(sparc) || defined(linux)
F(getpwnam_r)
F(getpwuid_r)
F(getgrnam_r)
F(getgrgid_r)
#endif
#if defined(__NetBSD__)
F(getpwnam)
F(getpwuid)
F(getgrnam)
F(getgrgid)
#endif

F(setpwent)
F(getpwent)
F(endpwent)