Post

System Call

✅ System Call

Screenshot 2024-07-25 at 12 28 52

request services from the operating system
program makes system call to request operating system’s kernels
user program can interact with the operating system using a system call
commands for creating, managing process

  • fork()
  • exec()
  • wait()

fork()

create process that has same parent
same process multiple times

exec()

create child process to perform different from parent

wait()

wait until other child process is finished(with the same parent process)

💡 Reference

https://www.geeksforgeeks.org/introduction-of-system-call/

This post is licensed under CC BY 4.0 by the author.