root/user/uw-testbin/syscall/syscall.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. main

   1 /* See how function and system calls happens. */
   2 #include <unistd.h>
   3 #include <errno.h>
   4 
   5 int
   6 main()
   7 {
   8         int x;
   9         x = close(999);
  10   if (x < 0) {
  11           return errno;
  12   } else {
  13           return x;
  14   }
  15 }

/* [<][>][^][v][top][bottom][index][help] */