nasm system calls Linux

后端 未结 2 1188
[愿得一人]
[愿得一人] 2021-01-14 19:25

I have got a question about linux x86 system calls in assembly.

When I am creating a new assembly program with nasm on linux, I\'d like to know which system calls I

2条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-14 19:56

    Perhaps you are looking for something like linux/syscalls.h[1], which you have on your system if you've installed the Linux source code via apt-get or whatever your distro uses.

    [1] http://lxr.free-electrons.com/source/include/linux/syscalls.h#L326

提交回复
热议问题