1,885
edits
Changes
Syscalls
,→Syscall arguments and return values
=== Syscall arguments and return values ===
The details of each syscall's arguments and return value are listed in <nowiki><unistd.h></nowiki> (<code>/usr/include/unistd.h</code>) in a combination of comments and C extern declarations.For example, for the '''write''' syscall:
/* Write N bytes of BUF to FD. Return the number written, or -1.