Process Management System Exec
Process Management System Exec
Another name is Application Programming Interface (API) Another name is System Call Interface (SCI)
Writing program with APIs is called as application Writing program with SCIs is called as system
programming programming
They are slower but process calling library functions They are faster but process calling system calls execute
execute faster slower
Library functions are programmer friendly and specific to System calls are OS friendly and generic in nature
tasks For eg read()
For eg fgetc() reads only ASCII characters
Library functions execute in Users Space System call executes in Kernels Space
Library functions can be debugged using debugger. System calls cannot be debugged as executed by kernel
but you can check return value and error numbers to
avoid failure.
Process Control Block