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:
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
File management
- create file, delete file
- open, close
- read, write, reposition
- get/set file attributes
Device Management
- request device, release device
- read, write, reposition
- get/set device attributes
- logically attach or detach devices
Information Maintenance
- get/set time or date
- get/set system data
- get/set process, file, or device attributes
Communication
- create, delete communication connection
- send, receive messages
- transfer status information
- attach or detach remote devices
Useful links System call @ wiki