home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / ip / manage / condor / Condor_4.1.3b / src / h / syscall.aix.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-06-17  |  9.7 KB  |  383 lines

  1. /* 
  2. ** Copyright 1986, 1987, 1988, 1989, 1990, 1991 by the Condor Design Team
  3. ** 
  4. ** Permission to use, copy, modify, and distribute this software and its
  5. ** documentation for any purpose and without fee is hereby granted,
  6. ** provided that the above copyright notice appear in all copies and that
  7. ** both that copyright notice and this permission notice appear in
  8. ** supporting documentation, and that the names of the University of
  9. ** Wisconsin and the Condor Design Team not be used in advertising or
  10. ** publicity pertaining to distribution of the software without specific,
  11. ** written prior permission.  The University of Wisconsin and the Condor
  12. ** Design Team make no representations about the suitability of this
  13. ** software for any purpose.  It is provided "as is" without express
  14. ** or implied warranty.
  15. ** 
  16. ** THE UNIVERSITY OF WISCONSIN AND THE CONDOR DESIGN TEAM DISCLAIM ALL
  17. ** WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
  18. ** OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE UNIVERSITY OF
  19. ** WISCONSIN OR THE CONDOR DESIGN TEAM BE LIABLE FOR ANY SPECIAL, INDIRECT
  20. ** OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
  21. ** OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  22. ** OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE
  23. ** OR PERFORMANCE OF THIS SOFTWARE.
  24. ** 
  25. ** Author:  Michael J. Litzkow
  26. **              University of Wisconsin, Computer Sciences Dept.
  27. ** 
  28. */ 
  29.  
  30. /* $Header:syscall.h 12.0$ */
  31. /* $ACIS:syscall.h 12.0$ */
  32. /* $Source: /ibm/acis/usr/sys/h/RCS/syscall.h,v $ */
  33.  
  34. #if !defined(lint) && !defined(LOCORE) && defined(RCS_HDRS)
  35. static char *rcsidsyscall = "$Header:syscall.h 12.0$";
  36. #endif
  37.  
  38. #define VFS
  39.  
  40. /*
  41. ** These system calls are all specific to AIX3.1.  Just assign numbers out
  42. ** of the normal range of berkeley system calls.
  43. */
  44. #define SYS_accessx        901
  45. #define SYS_audit        902
  46. #define SYS_auditbin    903
  47. #define SYS_auditevents    904
  48. #define SYS_auditlog    905
  49. #define SYS_auditobj    906
  50. #define SYS_auditproc    907
  51. #define SYS_brk            964
  52. #define SYS_chacl        908
  53. #define SYS_chownx        909
  54. #define SYS_chpriv        910
  55. #define SYS_disclaim    911
  56. #define SYS_faccessx    912
  57. #define SYS_fchacl        913
  58. #define SYS_fchownx        914
  59. #define SYS_fchpriv        915
  60. #define SYS_fclear        916
  61. #define SYS_frevoke        917
  62. #define SYS_fscntl        918
  63. #define SYS_fstatacl    919
  64. #define SYS_fstatpriv    920
  65. #define SYS_fstatx        921
  66. #define SYS_getargs        922
  67. #define SYS_getdirent    923
  68. #define SYS_getevars    924
  69. #define SYS_getgidx        925
  70. #define SYS_kgetpgrp    926
  71. #define SYS_getpri        927
  72. #define SYS_getpriv        928
  73. #define SYS_getproc        929
  74. #define SYS_getuidx        930
  75. #define SYS_getuser        931
  76. #define SYS_kfcntl        932
  77. #define SYS_kioctl        933
  78. #define SYS_knlist        934
  79. #define SYS_kreadv        935
  80. #define SYS_kwaitpid    936
  81. #define SYS_kwritev        937
  82. #define SYS_load        938
  83. #define SYS_loadbind    939
  84. #define SYS_loadquery    940
  85. #define SYS_mntctl        941
  86. #define SYS_openx        942
  87. #define SYS_pause        943
  88. #define SYS_plock        944
  89. #define SYS_poll        945
  90. #define SYS_privcheck    946
  91. #define SYS_psdanger    947
  92. #define SYS_revoke        948
  93. #define SYS_absinterval    949
  94. #define SYS_getinterval    950
  95. #define SYS_gettimer    951
  96. #define SYS_gettimerid    952
  97. #define SYS_incinterval    953
  98. #define SYS_reltimerid    954
  99. #define SYS_resabs        955
  100. #define SYS_resinc        956
  101. #define SYS_restimer    957
  102. #define SYS_settimer    958
  103. #define SYS_nsleep        959
  104. #define SYS_seteuid        960
  105. #define SYS_setgid        961
  106. #define SYS_setgidx        962
  107. #define SYS_setpgid        963
  108. #define SYS_setpri        965
  109. #define SYS_setpriv        966
  110. #define SYS_setsid        967
  111. #define SYS_setuid        968
  112. #define SYS_setuidx        969
  113. #define SYS_shmctl        970
  114. #define SYS_shmget        971
  115. #define SYS_shmat        972
  116. #define SYS_shmdt        973
  117. #define SYS_msgctl        974
  118. #define SYS_msgget        975
  119. #define SYS_msgsnd        976
  120. #define SYS_msgrcv        977
  121. #define SYS_msgxrcv        978
  122. #define SYS_semctl        979
  123. #define SYS_semget        980
  124. #define SYS_semop        981
  125. #define SYS_sigaction    982
  126. #define SYS_sigcleanup    983
  127. #define SYS_sigprocmask    984
  128. #define SYS_sigsuspend    986
  129. #define SYS_sigpending    987
  130. #define SYS_statacl        988
  131. #define SYS_statpriv    989
  132. #define SYS_statx        990
  133. #define SYS_swapoff        991
  134. #define SYS_swapqry        992
  135. #define SYS_sysconfig    993
  136. #define SYS_times        994
  137. #define SYS_ulimit        995
  138. #define SYS_uname        996
  139. #define SYS_unameu        997
  140. #define SYS_unamex        998
  141. #define SYS_unload        999
  142. #define SYS_usrinfo        1000
  143. #define SYS_ustat        1001
  144. #define SYS_uvmount        1002
  145. #define SYS_vmount        1003
  146. #define SYS_Trconflag    1004
  147. #define SYS_trchook        1005
  148. #define SYS_trchk        1006
  149. #define SYS_trchkt        1007
  150. #define SYS_trchkl        1008
  151. #define SYS_trchklt        1009
  152. #define SYS_trchkg        1010
  153. #define SYS_trchkgt        1011
  154. #define SYS_trcgen        1012
  155. #define SYS_trcgent        1013
  156. #define SYS_getppid        1014
  157. #define SYS_lockf        1015
  158.  
  159.  
  160.  
  161.  
  162.  
  163. /*
  164.  * Copyright (c) 1980 Regents of the University of California.
  165.  * All rights reserved.  The Berkeley software License Agreement
  166.  * specifies the terms and conditions for redistribution.
  167.  *
  168.  *    @(#)syscall.h    5.4 (Berkeley) 4/3/86
  169.  */
  170.  
  171. #define    SYS_syscall    0
  172. #define    SYS_exit    1
  173. #define    SYS_fork    2
  174. #define    SYS_read    3
  175. #define    SYS_write    4
  176. #define    SYS_open    5
  177. #define    SYS_close    6
  178.                 /*  7 is old: wait */
  179. #define    SYS_creat    8
  180. #define    SYS_link    9
  181. #define    SYS_unlink    10
  182. #define    SYS_execv    11
  183. #define    SYS_chdir    12
  184.                 /* 13 is old: time */
  185. #define    SYS_mknod    14
  186. #define    SYS_chmod    15
  187. #define    SYS_chown    16
  188.                 /* 17 is old: sbreak */
  189.                 /* 18 is old: stat */
  190. #define    SYS_lseek    19
  191. #define    SYS_getpid    20
  192. #ifndef VFS
  193. #define    SYS_mount    21
  194. #else !VFS
  195.                 /* 21 is old: mount */
  196. #endif !VFS
  197. #define    SYS_umount    22    
  198.                 /* 23 is old: setuid */
  199. #define    SYS_getuid    24
  200.                 /* 25 is old: stime */
  201. #define    SYS_ptrace    26
  202.                 /* 27 is old: alarm */
  203.                 /* 28 is old: fstat */
  204.                 /* 29 is old: pause */
  205.                 /* 30 is old: utime */
  206.                 /* 31 is old: stty */
  207.                 /* 32 is old: gtty */
  208. #define    SYS_access    33
  209.                 /* 34 is old: nice */
  210.                 /* 35 is old: ftime */
  211. #define    SYS_sync    36
  212. #define    SYS_kill    37
  213. #define    SYS_stat    38
  214.                 /* 39 is old: setpgrp */
  215. #define    SYS_lstat    40
  216. #define    SYS_dup        41
  217. #define    SYS_pipe    42
  218.                 /* 43 is old: times */
  219. #define    SYS_profil    44
  220.                 /* 45 is unused */
  221.                 /* 46 is old: setgid */
  222. #define    SYS_getgid    47
  223.                 /* 48 is old: sigsys */
  224.                 /* 49 is unused */
  225.                 /* 50 is unused */
  226. #define    SYS_acct    51
  227.                 /* 52 is old: phys */
  228.                 /* 53 is old: syslock */
  229. #define    SYS_ioctl    54
  230. #define    SYS_reboot    55
  231.                 /* 56 is old: mpxchan */
  232. #define    SYS_symlink    57
  233. #define    SYS_readlink    58
  234. #define    SYS_execve    59
  235. #define    SYS_umask    60
  236. #define    SYS_chroot    61
  237. #define    SYS_fstat    62
  238.                 /* 63 is unused */
  239. #define    SYS_getpagesize 64
  240. #define    SYS_mremap    65
  241. #define    SYS_vfork    66  /* 66 is old: vfork */
  242.                 /* 67 is old: vread */
  243.                 /* 68 is old: vwrite */
  244. #define    SYS_sbrk    69
  245. #define    SYS_sstk    70
  246. #define    SYS_mmap    71
  247. #define    SYS_vadvise    72  /* 72 is old: vadvise */
  248. #define    SYS_munmap    73
  249. #define    SYS_mprotect    74
  250. #define    SYS_madvise    75
  251. /*
  252. #define    SYS_vhangup    76
  253. */
  254.                 /* 77 is old: vlimit */
  255. #define    SYS_mincore    78
  256. #define    SYS_getgroups    79
  257. #define    SYS_setgroups    80
  258. #define    SYS_getpgrp    81
  259. #define    SYS_setpgrp    82
  260. #define    SYS_setitimer    83
  261. #define    SYS_wait    84
  262. #define    SYS_swapon    85
  263. #define    SYS_getitimer    86
  264. #define    SYS_gethostname    87
  265. #define    SYS_sethostname    88
  266. #define    SYS_getdtablesize 89
  267. #define    SYS_dup2    90
  268. #define    SYS_getdopt    91
  269. #define    SYS_fcntl    92
  270. #define    SYS_select    93
  271. #define    SYS_setdopt    94
  272. #define    SYS_fsync    95
  273. #define    SYS_setpriority    96
  274. #define    SYS_socket    97
  275. #define    SYS_connect    98
  276. #define    SYS_accept    99
  277. #define    SYS_getpriority    100
  278. #define    SYS_send    101
  279. #define    SYS_recv    102
  280. #define    SYS_sigreturn    103
  281. #define    SYS_bind    104
  282. #define    SYS_setsockopt    105
  283. #define    SYS_listen    106
  284.                 /* 107 was vtimes */
  285. #define    SYS_sigvec    108
  286. #define    SYS_sigblock    109
  287. #define    SYS_sigsetmask    110
  288. #define    SYS_sigpause    111
  289. #define    SYS_sigstack    112
  290. #define    SYS_recvmsg    113
  291. #define    SYS_sendmsg    114
  292.                 /* 115 is old vtrace */
  293. #define    SYS_gettimeofday 116
  294. #define    SYS_getrusage    117
  295. #define    SYS_getsockopt    118
  296.                 /* 119 is old resuba */
  297. #define    SYS_readv    120
  298. #define    SYS_writev    121
  299. #define    SYS_settimeofday 122
  300. #define    SYS_fchown    123
  301. #define    SYS_fchmod    124
  302. #define    SYS_recvfrom    125
  303. #define    SYS_setreuid    126
  304. #define    SYS_setregid    127
  305. #define    SYS_rename    128
  306. #define    SYS_truncate    129
  307. #define    SYS_ftruncate    130
  308. #define    SYS_flock    131
  309.                 /* 132 is unused */
  310. #define    SYS_sendto    133
  311. #define    SYS_shutdown    134
  312. #define    SYS_socketpair    135
  313. #define    SYS_mkdir    136
  314. #define    SYS_rmdir    137
  315. #define    SYS_utimes    138
  316.                 /* 139 is unused */
  317. #define    SYS_adjtime    140
  318. #define    SYS_getpeername    141
  319. #define    SYS_gethostid    142
  320. #define    SYS_sethostid    143
  321. #define    SYS_getrlimit    144
  322. #define    SYS_setrlimit    145
  323. #define    SYS_killpg    146
  324.                 /* 147 is unused */
  325. #define    SYS_setquota    148
  326. #define    SYS_quota    149
  327. #define    SYS_getsockname    150
  328. #define    SYS_exect    151
  329. #define    SYS_getfpemulator 153
  330. #if defined(AFS) || defined(VICE)
  331. #define    SYS_iopen    154        /* AFS_SERVER */
  332. #define    SYS_iread    155        /* AFS_SERVER */
  333. #define    SYS_iwrite    156        /* AFS_SERVER */
  334. #define    SYS_iinc    157        /* AFS_SERVER */
  335. #define    SYS_idec    158        /* AFS_SERVER */
  336. #endif /* AFS */
  337. #ifdef VICE
  338. #define    SYS_pioctl    159        /* VICE */
  339. #define    SYS_setpag    160        /* VICE */
  340. #else VICE
  341. #ifdef AFS
  342. #define SYS_afs_pioctl    159        /* AFS */
  343. #define SYS_afs_setpag    160        /* AFS */
  344. #endif AFS
  345. #endif VICE
  346. #define    SYS_vdspin    161        /* RVD */
  347. #define    SYS_vdspind    162        /* RVD */
  348. #define    SYS_vdstats    163        /* RVD */
  349. #define    SYS_syscalltrace 164        /* SYSCALLTRACE */
  350. #define    SYS_icreate    165        /* AFS_SERVER */
  351.             /* 166 is unused adjtime */
  352. #define    SYS_getfloatstate 167        /* getfloatstate */
  353. #define    SYS_setfloatstate 168        /* setfloatstate */
  354.  
  355. #ifdef VFS
  356. #ifdef NFS
  357. #define SYS_nfssvc        169
  358. #endif NFS
  359. /*
  360. #define SYS_getdirentries    170
  361. */
  362. #define SYS_statfs        171
  363. #define SYS_fstatfs        172
  364. #define SYS_unmount        173
  365. #ifdef NFS
  366. #define SYS_async_daemon    174
  367. #define SYS_getfh        175
  368. #endif NFS
  369. #define SYS_getdomainname    176
  370. #define SYS_setdomainname    177
  371. #define SYS_quotactl        178
  372. #ifdef NFS
  373. #define SYS_exportfs        179
  374. #endif NFS
  375. #define SYS_mount        180
  376. #endif VFS
  377. #ifdef AFS
  378. #define SYS_afs_test        181
  379. #endif AFS
  380.  
  381. #define SYS__exit        SYS_exit
  382. #define SYS__load        SYS_load
  383.