News for hackers. Stuff that matters.
Re:OS X BSD System Calls Reference by kentonv on Tuesday July 07, 2015 @11:25PM (#9849626)
Linux's syscalls: http://man7.org/linux/man-pages/dir_section_2.html

(I have learned a lot by just going to that page and randomly clicking on things.)

Re:OS X BSD System Calls Reference by asveikau on Wednesday July 08, 2015 @12:20AM (#9849797)
This is documentation. It's not an ABI reference the same way the article is. The article is about the nuts and bolts of how user mode makes calls into the kernel, which manpages don't bother with.

If you want to learn the syscall ABI on Linux you need to look at <asm/unistd.h>. Seems like this file has gone through some refactorings since the last time I looked, but here's an older version: http://lxr.free-electrons.com/source/include/asm-generic/uni... [edit: ia32 here http://lxr.free-electrons.com/source/arch/x86/include/asm/un...] -- the constants in the __NR_* macros define the table that this article is attempting to build. [Basically, the interrupt handler for a syscall needs to know where to jump based on that index.]