home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / unix / volume25 / trash / part01 / sysentry.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-03-22  |  478 b   |  23 lines

  1. #define    U_SYSV        1
  2. #define    U_BSD43        2
  3. #define    U_POSIX        3
  4.  
  5. #define    DIRN_ENTRY    0
  6. #define    DIRN_EXIT    1
  7.  
  8. #define    NSYSARGS    6    /* All direct system calls    */
  9.                 /* have <= NSYSARGS args.    */
  10.  
  11. /*
  12.  * Structure of our version of the system-entry table.
  13.  */
  14. typedef struct sysentry    sysentry;
  15. struct sysentry
  16. {
  17.     char    *sy_name;    /* name            */
  18.     char    sy_narg;    /* number of arguments    */
  19.     char    *sy_desc;    /* argument formats    */
  20.     char    sy_rdesc;    /* result format    */
  21.     int    (*sy_call)();    /* handler        */
  22. };
  23.