~mysql/mysql-server/mysql-6.0

« back to all changes in this revision

Viewing changes to mit-pthreads/machdep/i386-sco-3.2v5/syscall.h

  • Committer: bk at mysql
  • Date: 2000-07-31 19:29:14 UTC
  • Revision ID: sp1r-bk@work.mysql.com-20000731192914-08846
Import changeset

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright 1994-1995 The Santa Cruz Operation, Inc. All Rights Reserved. */
 
2
 
 
3
 
 
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 */
 
9
/*
 
10
/    Portions Copyright (C) 1983-1995 The Santa Cruz Operation, Inc.
 
11
 *              All Rights Reserved.
 
12
 *
 
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.
 
19
 */
 
20
 
 
21
/*      Portions Copyright (c) 1990, 1991, 1992, 1993 UNIX System Laboratories, Inc. */
 
22
/*      Portions Copyright (c) 1979 - 1990 AT&T   */
 
23
 
 
24
#ident  "xpg4plus @(#) sys.i386 20.1 94/12/04 "
 
25
/* #ident       "xpg4plus @(#)head:sys.i386     1.2" */
 
26
 
 
27
/*
 
28
/*      Definitions of Kernel Entry Call Gates
 
29
*/
 
30
 
 
31
#ifndef _SYSCALL_H_
 
32
#define _SYSCALL_H_
 
33
 
 
34
/*#define       SYSCALL $0x7,$0*/
 
35
/*#define SIGCALL $0xF,$0*/
 
36
 
 
37
/*
 
38
/*      Definitions of System Call Entry Point Numbers
 
39
*/
 
40
 
 
41
#define SYS_access      33
 
42
#define SYS_acct        51
 
43
#define SYS_advfs       70
 
44
#define SYS_alarm       27
 
45
#define SYS_break       17
 
46
#define SYS_brk 17
 
47
#define SYS_chdir       12
 
48
#define SYS_chmod       15
 
49
#define SYS_chown       16
 
50
#define SYS_chroot      61
 
51
#define SYS_close       6
 
52
#define SYS_creat       8
 
53
#define SYS_dup 41
 
54
#define SYS_exec        11
 
55
#define SYS_execve      59
 
56
#define SYS_exit        1
 
57
#define SYS_fcntl       62
 
58
#define SYS_fork        2
 
59
#define SYS_fstat       28
 
60
#define SYS_fstatfs     38
 
61
#define SYS_fxstat      125
 
62
#define SYS_getdents    81
 
63
#define SYS_getgid      47
 
64
#define SYS_getmsg      85
 
65
#define SYS_getpid      20
 
66
#define SYS_gettimeofday        171
 
67
#define SYS_getuid      24
 
68
#define SYS_gtty        32
 
69
#define SYS_ioctl       54
 
70
#define SYS_kill        37
 
71
#define SYS_link        9
 
72
#define SYS_lock        45
 
73
#define SYS_lseek       19
 
74
#define SYS_lstat       91
 
75
#define SYS_lxstat      124
 
76
#define SYS_mkdir       80
 
77
#define SYS_mknod       14
 
78
#define SYS_mount       21
 
79
#define SYS_msgsys      49
 
80
#define SYS_nice        34
 
81
#define SYS_open        5
 
82
#define SYS_pause       29
 
83
#define SYS_pipe        42
 
84
#define SYS_plock       45
 
85
#define SYS_poll        87
 
86
#define SYS_prof        44
 
87
#define SYS_ptrace      26
 
88
#define SYS_putmsg      86
 
89
#define SYS_rdebug      76
 
90
#define SYS_read        3
 
91
#define SYS_readlink    92
 
92
#define SYS_readv       121
 
93
#define SYS_rfstart     74
 
94
#define SYS_rfstop      77
 
95
#define SYS_rfsys       78
 
96
#define SYS_rmdir       79
 
97
#define SYS_rmount      72
 
98
#define SYS_rumount     73
 
99
#define SYS_seek        19
 
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
 
107
#define SYS_stat        18
 
108
#define SYS_statfs      35
 
109
#define SYS_stime       25
 
110
#define SYS_stty        31
 
111
#define SYS_symlink     90
 
112
#define SYS_sync        36
 
113
#define SYS_sys3b       50
 
114
#define SYS_sysi86  50
 
115
#define SYS_sysacct     51
 
116
#define SYS_sysfs       84
 
117
#define SYS_time        13
 
118
#define SYS_times       43
 
119
#define SYS_uadmin      55
 
120
#define SYS_ulimit      63
 
121
#define SYS_umask       60
 
122
#define SYS_umount      22
 
123
#define SYS_unadvfs     71
 
124
#define SYS_unlink      10
 
125
#define SYS_utime       30
 
126
#define SYS_utssys      57
 
127
#define SYS_wait        7
 
128
#define SYS_write       4
 
129
#define SYS_writev      122
 
130
#define SYS_xstat       123
 
131
#define SYS_ftruncate   192
 
132
 
 
133
/* cxenix numbers are created by the formula
 
134
 * (table index << 8) + CXENIX
 
135
 */
 
136
 
 
137
#define CXENIX  0x28                    /* Decimal 40 */
 
138
 
 
139
#define XLOCKING        0x0128
 
140
#define CREATSEM        0x0228
 
141
#define OPENSEM         0x0328
 
142
#define SIGSEM          0x0428
 
143
#define WAITSEM         0x0528
 
144
#define NBWAITSEM       0x0628
 
145
#define RDCHK           0x0728
 
146
#define CHSIZE          0x0a28
 
147
#define SYS_ftime       0x0b28
 
148
#define NAP             0x0c28
 
149
#define SDGET           0x0d28
 
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
 
172
 
 
173
#define CLOCAL          127
 
174
#endif
 
175
#endif