previous | start | next

Mapping the System Call integer to a System Routine

File: /usr/src/servers/pm/table.c

  This file contains an array of function pointers that map the integers for
  system calls to the function that implements the call.

  call_vec is an array of pointers to functions of type int (*)(void)

  Entry 29 is do_pause, /* 29 = pause  */
  Entry 30 is no_sys,   /* 30 = utime  */
  Entry 31 is no_sys,   /* 31 = (stty) */

  The no_sys function is defined in several different places:

  - /usr/src/servers/pm/utility.c
  - /usr/src/servers/vfs/utility.c
  - /usr/src/servers/mfs/utility.c

  In each of these places the function just prints a message on the
  console that the function is not implemented and returns an error code: ENOSYS



previous | start | next