OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [include/] [_syslist.h] - Blame information for rev 318

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
/* 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
 
6
#ifdef MISSING_SYSCALL_NAMES
7
#define _close close
8
#define _execve execve
9
#define _fcntl fcntl
10
#define _fork fork
11
#define _fstat fstat
12
#define _getpid getpid
13
#define _gettimeofday gettimeofday
14
#define _isatty isatty
15
#define _kill kill
16
#define _link link
17
#define _lseek lseek
18
#define _open open
19
#define _read read
20
#define _sbrk sbrk
21
#define _stat stat
22
#define _times times
23
#define _unlink unlink
24
#define _wait wait
25
#define _write write
26
#endif /* MISSING_SYSCALL_NAMES */
27
 
28
#if defined MISSING_SYSCALL_NAMES || !defined HAVE_OPENDIR
29
/* If the system call interface is missing opendir, readdir, and
30
   closedir, there is an implementation of these functions in
31
   libc/posix that is implemented using open, getdents, and close.
32
   Note, these functions are currently not in the libc/syscalls
33
   directory.  */
34
#define _opendir opendir
35
#define _readdir readdir
36
#define _closedir closedir
37
#endif /* MISSING_SYSCALL_NAMES || !HAVE_OPENDIR */
38
 
39
#endif /* !__SYSLIST_H_ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.