The UNIX Operating System

TOP

UP


Ray Seyfarth

ORCA


Computer Science

COST

USM




System Calls


  • An operating system should run user programs in a restricted mode
    i.e. user program should not do I/O directly

  • User programs should make a system call to allow trusted code to perform I/O

  • In UNIX "functions" like open, read, write, close are actually system calls

  • A UNIX system call is a transition from user mode to kernel mode

  • TCP/IP code is called through system calls


University of Southern Mississippi
Ray.Seyfarth@usm.edu
Updated 20:05 Jun 5, 2000