File: linux-syscalls.h

package info (click to toggle)
newlib 4.4.0.20231231-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 73,736 kB
  • sloc: ansic: 500,769; makefile: 55,322; asm: 49,234; sh: 12,393; perl: 2,759; cpp: 1,064; python: 999; lisp: 720; exp: 359; xml: 40
file content (28 lines) | stat: -rw-r--r-- 637 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/** Linux system call interface for the MicroBlaze processor.
 * Copyright (c) 2009 Edgar E. Iglesias.
 *
 * Permission to use, copy, modify, and distribute this software
 * is freely granted, provided that this notice is preserved.
 */

#define SYS_exit	1
#define SYS_fork	2
#define SYS_read	3
#define SYS_write	4
#define SYS_open	5
#define SYS_close	6
#define SYS_waitpid	7
#define SYS_creat	8
#define SYS_link	9
#define SYS_unlink	10
#define SYS_execve	11
#define SYS_chdir	12
#define SYS_time	13

#define SYS_lseek	19
#define SYS_getpid	20
#define SYS_kill	37
#define SYS_brk		45
#define SYS_fstat	108

#define SYS_rt_sigaction  174