Open main menu

CDOT Wiki β

Changes

Syscalls

2 bytes removed, 01:00, 26 January 2014
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.