newlib-cygwin/newlib/libc/include/_syslist.h

30 lines
720 B
C
Raw Normal View History

2000-02-18 03:39:52 +08:00
/* internal use only -- mapping of "system calls" for libraries that lose
and only provide C names, so that we end up in violation of ANSI */
#ifndef __SYSLIST_H
#define __SYSLIST_H
#ifdef MISSING_SYSCALL_NAMES
#define _close close
#define _execve execve
#define _fcntl fcntl
#define _fork fork
#define _fstat fstat
#define _getpid getpid
#define _gettimeofday gettimeofday
#define _kill kill
#define _link link
#define _lseek lseek
#define _open open
#define _read read
#define _sbrk sbrk
#define _stat stat
#define _times times
#define _unlink unlink
#define _wait wait
#define _write write
/* functions not yet sysfaked */
#define _opendir opendir
#define _readdir readdir
#define _closedir closedir
#endif
#endif