Open main menu

CDOT Wiki β

Changes

Syscalls

3 bytes removed, 00:01, 26 January 2014
Syscall arguments and return values
extern ssize_t write (int __fd, const void *__buf, size_t __n) __wur;
So this This documents that the ''write'' syscall takes three arguments: the file descriptor, a pointer to the message buffer, and the message size, and returns the number of bytes written or -1 if there was an error.
=== Documentation ===