I know syscall 1 means write,
but is there a command to list all implemented syscall names and numbers on linux in bash?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
manpage points to the header filesys/syscall.h. It has all the defined constants, and it’s located at/usr/include/sys/syscall.h. (That’s the location on OS X, which I’m using, but I think it’ll be the same for most Linux distros, too.)