C System Calls: Overview#
The first set of labs use to make system calls in a Windows environment.
The second set focus on essential components of Linux.
System Calls or Function Covered#
printf(): Writes data to the screen or terminal
scanf(): Reads user input from a terminal
open():Opens a file for reading or create a file for writing.
read(): Reads data from a file.
write(): Writes data to a file.
close(): Closes a file after reading or writing.
unlink(): Deletes a file.
remove(): Deletes a file.
CreateProcess(): Creates a new process.
OpenProcess(): Gets the handle of a running process.
TerminateProcess(): Terminates a process forcefully.
GetExitCodeProcess()Retrieves the exit code of a process.
Source & license
Reproduced verbatim, without modification from © 2022, BilimEdtech Labs, licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Source page: https://labs.bilimedtech.com/operating-systems/overview.html
See LICENSE for the full license text.