About

Questions concerning the details of how a program uses system calls to interact with the kernel API, what calls are available, how they work etc.

A system call is how a program requests a service from an operating system's kernel.

System calls can be roughly grouped into five major categories:

  1. Process Control

    • load
    • execute
    • end, abort
    • create process (for example, fork on Unix-like systems, or NtCreateProcess in the Windows NT Native API)
    • terminate process
    • get/set process attributes
    • wait for time, wait event, signal event
    • allocate, free memory
  2. File management

    • create file, delete file
    • open, close
    • read, write, reposition
    • get/set file attributes
  3. Device Management

    • request device, release device
    • read, write, reposition
    • get/set device attributes
    • logically attach or detach devices
  4. Information Maintenance

    • get/set time or date
    • get/set system data
    • get/set process, file, or device attributes
  5. Communication

    • create, delete communication connection
    • send, receive messages
    • transfer status information
    • attach or detach remote devices

Useful links System call @ wiki

history | excerpt history