1
/* Copyright 1994-1995 The Santa Cruz Operation, Inc. All Rights Reserved. */
4
#if defined(_NO_PROTOTYPE) /* Old, crufty environment */
5
#include <oldstyle/syscall.h>
6
#elif defined(_SCO_ODS_30) /* Old, Tbird compatible environment */
7
#include <ods_30_compat/syscall.h>
8
#else /* Normal, default environment */
10
/ Portions Copyright (C) 1983-1995 The Santa Cruz Operation, Inc.
11
* All Rights Reserved.
13
* The information in this file is provided for the exclusive use of
14
* the licensees of The Santa Cruz Operation, Inc. Such users have the
15
* right to use, modify, and incorporate this code into other products
16
* for purposes authorized by the license agreement provided they include
17
* this notice and the associated copyright notice with any such product.
18
* The information in this file is provided "AS IS" without warranty.
21
/* Portions Copyright (c) 1990, 1991, 1992, 1993 UNIX System Laboratories, Inc. */
22
/* Portions Copyright (c) 1979 - 1990 AT&T */
24
#ident "xpg4plus @(#) sys.i386 20.1 94/12/04 "
25
/* #ident "xpg4plus @(#)head:sys.i386 1.2" */
28
/* Definitions of Kernel Entry Call Gates
34
/*#define SYSCALL $0x7,$0*/
35
/*#define SIGCALL $0xF,$0*/
38
/* Definitions of System Call Entry Point Numbers
60
#define SYS_fstatfs 38
61
#define SYS_fxstat 125
62
#define SYS_getdents 81
66
#define SYS_gettimeofday 171
75
#define SYS_lxstat 124
91
#define SYS_readlink 92
93
#define SYS_rfstart 74
98
#define SYS_rumount 73
100
#define SYS_semsys 53
101
#define SYS_setgid 46
102
#define SYS_setpgrp 39
103
#define SYS_settimeofday 172
104
#define SYS_setuid 23
105
#define SYS_shmsys 52
106
#define SYS_signal 48
108
#define SYS_statfs 35
111
#define SYS_symlink 90
114
#define SYS_sysi86 50
115
#define SYS_sysacct 51
119
#define SYS_uadmin 55
120
#define SYS_ulimit 63
122
#define SYS_umount 22
123
#define SYS_unadvfs 71
124
#define SYS_unlink 10
126
#define SYS_utssys 57
129
#define SYS_writev 122
130
#define SYS_xstat 123
131
#define SYS_ftruncate 192
133
/* cxenix numbers are created by the formula
134
* (table index << 8) + CXENIX
137
#define CXENIX 0x28 /* Decimal 40 */
139
#define XLOCKING 0x0128
140
#define CREATSEM 0x0228
141
#define OPENSEM 0x0328
142
#define SIGSEM 0x0428
143
#define WAITSEM 0x0528
144
#define NBWAITSEM 0x0628
146
#define CHSIZE 0x0a28
147
#define SYS_ftime 0x0b28
150
#define SDFREE 0x0e28
151
#define SDENTER 0x0f28
152
#define SDLEAVE 0x1028
153
#define SDGETV 0x1128
154
#define SDWAITV 0x1228
155
#define PROCTL 0x2028
156
#define EXECSEG 0x2128
157
#define UNEXECSEG 0x2228
158
#define SYS_select 0x2428
159
#define SYS_eaccess 0x2528
160
#define SYS_paccess 0x2628
161
#define SYS_sigaction 0x2728
162
#define SYS_sigprocmask 0x2828
163
#define SYS_sigpending 0x2928
164
#define SYS_sigsuspend 0x2a28
165
#define SYS_getgroups 0x2b28
166
#define SYS_setgroups 0x2c28
167
#define SYS_sysconf 0x2d28
168
#define SYS_pathconf 0x2e28
169
#define SYS_fpathconf 0x2f28
170
#define SYS_rename 0x3028
171
#define SYS_setitimer 0x3828