Android系统调用表

上传人:豆浆 文档编号:24901073 上传时间:2017-12-08 格式:PDF 页数:23 大小:199.14KB
返回 下载 相关 举报
Android系统调用表_第1页
第1页 / 共23页
Android系统调用表_第2页
第2页 / 共23页
Android系统调用表_第3页
第3页 / 共23页
Android系统调用表_第4页
第4页 / 共23页
Android系统调用表_第5页
第5页 / 共23页
点击查看更多>>
资源描述

《Android系统调用表》由会员分享,可在线阅读,更多相关《Android系统调用表(23页珍藏版)》请在金锄头文库上搜索。

1、/* * arch/arm/include/asm/unistd.h * * Copyright (C) 2001-2005 Russell King * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Please forward _all_ changes to th

2、is file to rmkarm.linux.org.uk, * no matter what the change is. Thanks! */ #ifndef _ASM_ARM_UNISTD_H #define _ASM_ARM_UNISTD_H #define _NR_OABI_SYSCALL_BASE 0x900000 #if defined(_thumb_) | defined(_ARM_EABI_) #define _NR_SYSCALL_BASE 0 #else #define _NR_SYSCALL_BASE _NR_OABI_SYSCALL_BASE #endif /* *

3、 This file contains the system call numbers. */ #define _NR_restart_syscall (_NR_SYSCALL_BASE+ 0) #define _NR_exit (_NR_SYSCALL_BASE+ 1) #define _NR_fork (_NR_SYSCALL_BASE+ 2) #define _NR_read (_NR_SYSCALL_BASE+ 3) #define _NR_write (_NR_SYSCALL_BASE+ 4) #define _NR_open (_NR_SYSCALL_BASE+ 5) #defin

4、e _NR_close (_NR_SYSCALL_BASE+ 6) /* 7 was sys_waitpid */ #define _NR_creat (_NR_SYSCALL_BASE+ 8) #define _NR_link (_NR_SYSCALL_BASE+ 9) #define _NR_unlink (_NR_SYSCALL_BASE+ 10) #define _NR_execve (_NR_SYSCALL_BASE+ 11) #define _NR_chdir (_NR_SYSCALL_BASE+ 12) #define _NR_time (_NR_SYSCALL_BASE+ 13

5、) #define _NR_mknod (_NR_SYSCALL_BASE+ 14) #define _NR_chmod (_NR_SYSCALL_BASE+ 15) #define _NR_lchown (_NR_SYSCALL_BASE+ 16) /* 17 was sys_break */ /* 18 was sys_stat */ #define _NR_lseek (_NR_SYSCALL_BASE+ 19) #define _NR_getpid (_NR_SYSCALL_BASE+ 20) #define _NR_mount (_NR_SYSCALL_BASE+ 21) #defi

6、ne _NR_umount (_NR_SYSCALL_BASE+ 22) #define _NR_setuid (_NR_SYSCALL_BASE+ 23) #define _NR_getuid (_NR_SYSCALL_BASE+ 24) #define _NR_stime (_NR_SYSCALL_BASE+ 25) #define _NR_ptrace (_NR_SYSCALL_BASE+ 26) #define _NR_alarm (_NR_SYSCALL_BASE+ 27) /* 28 was sys_fstat */ #define _NR_pause (_NR_SYSCALL_B

7、ASE+ 29) #define _NR_utime (_NR_SYSCALL_BASE+ 30) /* 31 was sys_stty */ /* 32 was sys_gtty */ #define _NR_access (_NR_SYSCALL_BASE+ 33) #define _NR_nice (_NR_SYSCALL_BASE+ 34) /* 35 was sys_ftime */ #define _NR_sync (_NR_SYSCALL_BASE+ 36) #define _NR_kill (_NR_SYSCALL_BASE+ 37) #define _NR_rename (_

8、NR_SYSCALL_BASE+ 38) #define _NR_mkdir (_NR_SYSCALL_BASE+ 39) #define _NR_rmdir (_NR_SYSCALL_BASE+ 40) #define _NR_dup (_NR_SYSCALL_BASE+ 41) #define _NR_pipe (_NR_SYSCALL_BASE+ 42) #define _NR_times (_NR_SYSCALL_BASE+ 43) /* 44 was sys_prof */ #define _NR_brk (_NR_SYSCALL_BASE+ 45) #define _NR_setg

9、id (_NR_SYSCALL_BASE+ 46) #define _NR_getgid (_NR_SYSCALL_BASE+ 47) /* 48 was sys_signal */ #define _NR_geteuid (_NR_SYSCALL_BASE+ 49) #define _NR_getegid (_NR_SYSCALL_BASE+ 50) #define _NR_acct (_NR_SYSCALL_BASE+ 51) #define _NR_umount2 (_NR_SYSCALL_BASE+ 52) /* 53 was sys_lock */ #define _NR_ioctl

10、 (_NR_SYSCALL_BASE+ 54) #define _NR_fcntl (_NR_SYSCALL_BASE+ 55) /* 56 was sys_mpx */ #define _NR_setpgid (_NR_SYSCALL_BASE+ 57) /* 58 was sys_ulimit */ /* 59 was sys_olduname */ #define _NR_umask (_NR_SYSCALL_BASE+ 60) #define _NR_chroot (_NR_SYSCALL_BASE+ 61) #define _NR_ustat (_NR_SYSCALL_BASE+ 6

11、2) #define _NR_dup2 (_NR_SYSCALL_BASE+ 63) #define _NR_getppid (_NR_SYSCALL_BASE+ 64) #define _NR_getpgrp (_NR_SYSCALL_BASE+ 65) #define _NR_setsid (_NR_SYSCALL_BASE+ 66) #define _NR_sigaction (_NR_SYSCALL_BASE+ 67) /* 68 was sys_sgetmask */ /* 69 was sys_ssetmask */ #define _NR_setreuid (_NR_SYSCAL

12、L_BASE+ 70) #define _NR_setregid (_NR_SYSCALL_BASE+ 71) #define _NR_sigsuspend (_NR_SYSCALL_BASE+ 72) #define _NR_sigpending (_NR_SYSCALL_BASE+ 73) #define _NR_sethostname (_NR_SYSCALL_BASE+ 74) #define _NR_setrlimit (_NR_SYSCALL_BASE+ 75) #define _NR_getrlimit (_NR_SYSCALL_BASE+ 76) /* Back compat

13、2GB limited rlimit */ #define _NR_getrusage (_NR_SYSCALL_BASE+ 77) #define _NR_gettimeofday (_NR_SYSCALL_BASE+ 78) #define _NR_settimeofday (_NR_SYSCALL_BASE+ 79) #define _NR_getgroups (_NR_SYSCALL_BASE+ 80) #define _NR_setgroups (_NR_SYSCALL_BASE+ 81) #define _NR_select (_NR_SYSCALL_BASE+ 82) #defi

14、ne _NR_symlink (_NR_SYSCALL_BASE+ 83) /* 84 was sys_lstat */ #define _NR_readlink (_NR_SYSCALL_BASE+ 85) #define _NR_uselib (_NR_SYSCALL_BASE+ 86) #define _NR_swapon (_NR_SYSCALL_BASE+ 87) #define _NR_reboot (_NR_SYSCALL_BASE+ 88) #define _NR_readdir (_NR_SYSCALL_BASE+ 89) #define _NR_mmap (_NR_SYSC

15、ALL_BASE+ 90) #define _NR_munmap (_NR_SYSCALL_BASE+ 91) #define _NR_truncate (_NR_SYSCALL_BASE+ 92) #define _NR_ftruncate (_NR_SYSCALL_BASE+ 93) #define _NR_fchmod (_NR_SYSCALL_BASE+ 94) #define _NR_fchown (_NR_SYSCALL_BASE+ 95) #define _NR_getpriority (_NR_SYSCALL_BASE+ 96) #define _NR_setpriority (_NR_SYSCALL_BASE+ 97) /* 98 was sys_profil */ #define _NR_statfs (_NR_SYSCALL_BASE+ 99) #define _NR_fstatfs (_NR_SYSCA

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 商业/管理/HR > 其它文档

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号