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 Fri Dec 29 00:24:43 2006 +0000 (17 years ago)
permissions -rw-r--r--
last change Limit number of sectors read at once (linux driver seems to throw a hissy
fit if you request too many at a time)
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
.