Skip to content

Latest commit

 

History

History
67 lines (53 loc) · 2.88 KB

File metadata and controls

67 lines (53 loc) · 2.88 KB

System Calls

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

File Information

System

Communication

  • pipe - Pipe between two processes.

Misc


Overview: kernel

Boot: boot_process | init_overview

Subsystems: interrupts | devices | file_system | memory_management processes | scheduling | syscalls