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 */
6 #ifdef MISSING_SYSCALL_NAMES
12 #define _getpid getpid
13 #define _gettimeofday gettimeofday
14 #define _isatty isatty
24 #define _unlink unlink
27 #define _getentropy getentropy
28 #endif /* MISSING_SYSCALL_NAMES */
30 #if defined MISSING_SYSCALL_NAMES || !defined HAVE_OPENDIR
31 /* If the system call interface is missing opendir, readdir, and
32 closedir, there is an implementation of these functions in
33 libc/posix that is implemented using open, getdents, and close.
34 Note, these functions are currently not in the libc/syscalls
36 #define _opendir opendir
37 #define _readdir readdir
38 #define _closedir closedir
39 #endif /* MISSING_SYSCALL_NAMES || !HAVE_OPENDIR */
41 #endif /* !__SYSLIST_H_ */