Module unix

Source
Expand description

Operating system calls that work on OSX and Linux

Functions§

sys_fork
Create a new process by copying the memory-mappings in the current process into a new address space and get a separate scheduling-context in the OS.
sys_mmap
Allocates physical memory for a file, device, or anonymous-file (ie, a file that is only stored in-memory; just a memory allocation for the running process).
sys_munmap
Unmap program memory and memory-mapped devices/files
sys_pipe
Create a pipe
sys_wait
Wait for any of the caller’s child-process’s scheduling-statuses to change (not including going from idle to runnable, more signal related statuses; see manpage wait(2))