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 May 29 18:47:05 2015 +1000 (7 years ago)
permissions -rw-r--r--
last change Fix test case
file annotate diff log raw
nkeynes@185
     1
/* internal use only -- mapping of "system calls" for libraries that lose
nkeynes@185
     2
   and only provide C names, so that we end up in violation of ANSI */
nkeynes@185
     3
#ifndef __SYSLIST_H
nkeynes@185
     4
#define __SYSLIST_H
nkeynes@185
     5
#ifdef MISSING_SYSCALL_NAMES
nkeynes@185
     6
#define _close close
nkeynes@185
     7
#define _execve execve
nkeynes@185
     8
#define _fcntl fcntl
nkeynes@185
     9
#define _fork fork
nkeynes@185
    10
#define _fstat fstat
nkeynes@185
    11
#define _getpid getpid
nkeynes@185
    12
#define _gettimeofday gettimeofday
nkeynes@185
    13
#define _kill kill
nkeynes@185
    14
#define _link link
nkeynes@185
    15
#define _lseek lseek
nkeynes@185
    16
#define _open open
nkeynes@185
    17
#define _read read
nkeynes@185
    18
#define _sbrk sbrk
nkeynes@185
    19
#define _stat stat
nkeynes@185
    20
#define _times times
nkeynes@185
    21
#define _unlink unlink
nkeynes@185
    22
#define _wait wait
nkeynes@185
    23
#define _write write
nkeynes@185
    24
/* functions not yet sysfaked */
nkeynes@185
    25
#define _opendir opendir
nkeynes@185
    26
#define _readdir readdir
nkeynes@185
    27
#define _closedir closedir
nkeynes@185
    28
#endif
nkeynes@185
    29
#endif
.