Search
lxdream.org :: lxdream/test/include/_syslist.h
lxdream 0.9.1
released Jun 29
Download Now
filename test/include/_syslist.h
changeset 185:6755a04c447f
author nkeynes
date Wed Dec 02 10:36:49 2009 +1000 (14 years ago)
permissions -rw-r--r--
last change Add missing SUBV instruction to the emulation core (translation core is ok),
along with test cases. Thanks to D. Jeff Dionne for pointing this out.
view annotate diff log raw
     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 #ifdef MISSING_SYSCALL_NAMES
     6 #define _close close
     7 #define _execve execve
     8 #define _fcntl fcntl
     9 #define _fork fork
    10 #define _fstat fstat
    11 #define _getpid getpid
    12 #define _gettimeofday gettimeofday
    13 #define _kill kill
    14 #define _link link
    15 #define _lseek lseek
    16 #define _open open
    17 #define _read read
    18 #define _sbrk sbrk
    19 #define _stat stat
    20 #define _times times
    21 #define _unlink unlink
    22 #define _wait wait
    23 #define _write write
    24 /* functions not yet sysfaked */
    25 #define _opendir opendir
    26 #define _readdir readdir
    27 #define _closedir closedir
    28 #endif
    29 #endif
.