See also: calling_syscall.
Process Control
- fork - Fork process.
- execv - Execute another binary.
- exit - Exit process.
- kill - Send signal to a process.
- ms_sleep - Sleep for some time.
- wait - Wait for child process to exit.
- chdir - Change the current directory (see proc cwd).
- sbrk - Allocate/free process heap.
Process Information
File Management
- mkdir - create directory
- get_dirent - get directory entries
- mknod - make nodes in file system
- open - (optionally create and) open file
- close - close file
- read - read from file
- write - write to file
- lseek - get / set file read position
- truncate - Change file size.
- dup - duplicate file handle
- link - create hard link
- unlink - remove a hard link, also used to delete files
- rmdir - remove empty directories
File Meta Data Management
- chown - Change file ownership.
- chmod - Change file mode.
- getresgid - Get process group IDs.
- getresuid - Get process user IDs.
- setuid - Set process effective user ID.
- setgid - Set process effective group IDs.
- setresgid - Set any process group ID.
- setresuid - Set any process user ID.
File Information
- stat / fstat - get file metadata
System
- reboot - halt or reboot the system
- mount - mount file_system
- umount - unmount file system
- uptime - returns how long the system is running
- statvfs - get file system statistics
Communication
- pipe - Pipe between two processes.
Misc
- clock_gettime - Get the current UNIX time.
Overview: kernel
Boot: boot_process | init_overview
Subsystems: interrupts | devices | file_system | memory_management processes | scheduling | syscalls