File: syscall.h

package info (click to toggle)
gdb 7.4.1%2Bdfsg-0.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 161,344 kB
  • sloc: ansic: 1,781,883; asm: 272,786; exp: 100,392; makefile: 48,884; sh: 20,028; yacc: 10,676; cpp: 9,314; xml: 5,207; perl: 4,960; python: 1,477; pascal: 1,436; ada: 1,283; lex: 593; lisp: 504; sed: 228; awk: 138; objc: 134; f90: 112; java: 69; fortran: 43
file content (36 lines) | stat: -rw-r--r-- 780 bytes parent folder | download | duplicates (31)
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
29
30
31
32
33
34
35
36

/* !!! DANGER !!!
   This was copied from newlib. */


#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_wait4	7
#define	SYS_creat	8
#define	SYS_link	9
#define	SYS_unlink	10
#define	SYS_execv	11
#define	SYS_chdir	12
#define	SYS_mknod	14
#define	SYS_chmod	15
#define	SYS_chown	16
#define	SYS_lseek	19
#define	SYS_getpid	20
#define SYS_isatty      21
#define SYS_fstat       22
#define SYS_time 	23
#define SYS_ARG		24
#define	SYS_stat	38
#define	SYS_pipe	42
#define	SYS_execve	59
#define	SYS_truncate	129
#define	SYS_ftruncate	130
#define	SYS_argc	172
#define	SYS_argnlen	173
#define	SYS_argn	174
#define SYS_utime       201 /* not really a system call */
#define SYS_wait        202 /* nor is this */