Index

System Calls

Example of Standard C Library

Types of System Calls:

1)Process control

2)File management

3)Device management

4)Information maintenance

5)Communications

Quiz

End

System Calls
  • The standard C library provides a portion of the system call interface for many version of UNIX and Linux.
  • As an example, let's assume a C program invokes printf() statement.
  • The C library intercepts this call and invokes the necessary system call(s) in the OS.
  • The C library takes the value returned by write() and passes it back to the user program