Plan 9 System Calls
All of 'em (excluding obsolete ones).
Files | Process management | ||
---|---|---|---|
open | open an existing file | rfork | change process attributes or create a new process |
create | create a new file or open an existing file for writing | exec | replace the current process |
pread | read from an open file | exits | terminate the current process |
pwrite | write to an open file | errstr | exchange error string |
chdir | change current directory | sleep | sleep a given amount of time |
seek | change the current position in an open file | Synchronization | |
close | close a file descriptor | await | wait for a child process to terminate |
dup | duplicate a file descriptor | pipe | create a pipe |
fd2path | retrieve file name | rendezvous | exchange a word of data |
stat | read file metadata | semacquire | acquire a semaphore |
fstat | read open file metadata | semrelease | release a semaphore |
wstat | write file metadata | Memory management | |
fwstat | write open file metadata | brk_ | allocate memory |
remove | delete a file | segattach | attach to or create a segment |
Namespace management | segdetach | detach from a segment | |
mount | mount a 9P connection | segfree | free physical memory |
bind | bind a file or directory | segbrk | change segment length |
unmount | unmount or remove a bind | segflush | flush cache |
9P connections | Notes | ||
fversion | initialize a 9P connection | alarm | set the alarm timer |
fauth | initiate authentication | notify | set the note handler |
noted | continue after note |