Search
lxdream.org :: lxdream/test/include/_syslist.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/include/_syslist.h
changeset 185:6755a04c447f
author nkeynes
date Tue Feb 13 08:34:27 2007 +0000 (17 years ago)
permissions -rw-r--r--
last change Add tests for FLOAT and FTRC
Comment out user-mode exception test (broken)
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/test/include/_syslist.h Tue Feb 13 08:34:27 2007 +0000
1.3 @@ -0,0 +1,29 @@
1.4 +/* internal use only -- mapping of "system calls" for libraries that lose
1.5 + and only provide C names, so that we end up in violation of ANSI */
1.6 +#ifndef __SYSLIST_H
1.7 +#define __SYSLIST_H
1.8 +#ifdef MISSING_SYSCALL_NAMES
1.9 +#define _close close
1.10 +#define _execve execve
1.11 +#define _fcntl fcntl
1.12 +#define _fork fork
1.13 +#define _fstat fstat
1.14 +#define _getpid getpid
1.15 +#define _gettimeofday gettimeofday
1.16 +#define _kill kill
1.17 +#define _link link
1.18 +#define _lseek lseek
1.19 +#define _open open
1.20 +#define _read read
1.21 +#define _sbrk sbrk
1.22 +#define _stat stat
1.23 +#define _times times
1.24 +#define _unlink unlink
1.25 +#define _wait wait
1.26 +#define _write write
1.27 +/* functions not yet sysfaked */
1.28 +#define _opendir opendir
1.29 +#define _readdir readdir
1.30 +#define _closedir closedir
1.31 +#endif
1.32 +#endif
.