【发布时间】:2014-11-18 14:50:20
【问题描述】:
我想知道 syscall num 是在哪里定义的?类型是这样的
#define __NR_exit 1
#define __NR_read 3
非常感谢您的回答。
【问题讨论】:
标签: linux assembly system-calls
我想知道 syscall num 是在哪里定义的?类型是这样的
#define __NR_exit 1
#define __NR_read 3
非常感谢您的回答。
【问题讨论】:
标签: linux assembly system-calls
您应该能够找到在unistd.h 中为适当架构定义的系统调用号,以及在syscalls.h 中带有参数信息的相应sys_ 函数。
【讨论】: