|
|
1.1 root 1: /* (-lgl
2: * COHERENT Driver Kit Version 2.0.0
3: * Copyright (c) 1982, 1992 by Mark Williams Company.
4: * All rights reserved. May not be copied without permission.
5: -lgl) */
6: /*
7: * Header for system call table.
8: */
9: #ifndef SYSTAB_H
10: #define SYSTAB_H
11: #ifdef _I386
12: #include <sys/param.h>
13: #else
14: #include <sys/const.h>
15: #endif
16:
17: /*
18: * Functions types.
19: */
20: #define INT 2
21: #define LONG 4
22:
23: /*
24: * System call table structure.
25: */
26: struct systab {
27: #ifdef _I386
28: int s_nargs; /* number of arguments */
29: #else
30: char s_alen; /* Size of argument list */
31: #endif
32: char s_type; /* Type returned by function */
33: int (*s_func)(); /* Function */
34: };
35:
36: /*
37: * System call table.
38: */
39: extern struct systab sysitab[NMICALL];
40: extern struct systab cohcall;
41:
42: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.