3

Where can I find a list of system calls along with what each call does? I am not a C programmer, I am an admin so at times I find it helpful to run an strace on a running process to see what is going on, but there is a lot of stuff I don't understand. I guess I can accept reading the source code, but that is a time consuming endeavor for someone like me who doesn't spend all day programming. Any advice for understanding this facet of GNU/Linux?

closed as off-topic by Michael Homer, Rui F Ribeiro, Romeo Ninov, Jesse_b, telcoM Apr 21 '18 at 22:00

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Requests for learning materials (tutorials, how-tos etc.) are off topic. The only exception is questions about where to find official documentation (e.g. POSIX specifications). See the Help Center and our Community Meta for more information." – Michael Homer, Rui F Ribeiro, Romeo Ninov, Jesse_b, telcoM
If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    Peruse man syscalls or syscalls.kernelgrok.com With unix and Linux chances are there is man or info page for alsmost everything, info being broader. – ajeh Apr 20 '18 at 21:31
3

The Linux system calls are extensively documented in the man-pages project. Start with the list of syscalls, which is the syscalls(2) manpage (man 2 syscalls on your system). That manpage lists all the syscalls with a very brief summary, and links to the individual manpages documenting each one.

Many system calls are used, with the help of the C library, to provide interfaces specified by POSIX, so you might find it useful to look them up there (in the “System Interfaces” section).

  • Yes ---- +1 ---- – jlliagre Apr 21 '18 at 10:53

Not the answer you're looking for? Browse other questions tagged or ask your own question.