1/* internal use only -- mapping of "system calls" for libraries that lose 2 and only provide C names, so that we end up in violation of ANSI */ 3#ifndef __SYSLIST_H 4#define __SYSLIST_H 5 6#ifdef MISSING_SYSCALL_NAMES 7#define _close close 8#define _execve execve 9#define _fcntl fcntl 10#define _fork fork 11#define _fstat fstat 12#define _getpid getpid 13#define _gettimeofday gettimeofday 14#define _isatty isatty 15#define _kill kill 16#define _link link 17#define _lseek lseek 18#define _mkdir mkdir 19#define _open open 20#define _read read 21#define _sbrk sbrk 22#define _stat stat 23#define _times times 24#define _unlink unlink 25#define _wait wait 26#define _write write 27#endif /* MISSING_SYSCALL_NAMES */ 28 29#if defined MISSING_SYSCALL_NAMES || !defined HAVE_OPENDIR 30/* If the system call interface is missing opendir, readdir, and 31 closedir, there is an implementation of these functions in 32 libc/posix that is implemented using open, getdents, and close. 33 Note, these functions are currently not in the libc/syscalls 34 directory. */ 35#define _opendir opendir 36#define _readdir readdir 37#define _closedir closedir 38#endif /* MISSING_SYSCALL_NAMES || !HAVE_OPENDIR */ 39 40#endif /* !__SYSLIST_H_ */ 41