android系统调用,Android系统调用表.pdf

Android系统调用表

/*

* 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 this file to rmk@.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_BASE0

#else

#define __NR_SYSCALL_BASE__NR_OABI_SYSCALL_BASE

#endif

/*

* 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)

#define __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)

#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 __

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值