OS/161 System calls (user-space APIs)
- errno - error code reporting
- _exit - terminate process
- chdir - change current directory
- close - close file
- dup2 - clone file handles
- execv - execute a program
- fork - copy the current process
- fstat - get file state information
- fsync - flush filesystem data for a
specific file to disk
- ftruncate - set size of a file
- __getcwd - get name of current working
directory (backend)
- getdirentry - read filename from directory
- getpid - get process id
- ioctl - miscellaneous device I/O operations
- link - create hard link to a file
- lseek - change current position in file
- lstat - get file state information
- mkdir - create directory
- open - open a file
- pipe - create pipe object
- read - read data from file
- readlink - fetch symbolic link contents
- reboot - reboot or halt system
- remove - delete (unlink) a file
- rename - rename or move a file
- rmdir - remove directory
- sbrk - set process break (allocate memory)
- stat - get file state information
- symlink - create symbolic link
- sync - flush filesystem data to disk
- __time - get time of day
- waitpid - wait for a process to exit
- write - write data to file