netbsd/sys/rump/kern/lib/libsys_sunos/rump_sunos_syscall.h
2014-01-15 10:53:42 +01:00

192 lines
5.7 KiB
C

/* $NetBSD: rump_sunos_syscall.h,v 1.2 2013/05/15 21:41:25 pooka Exp $ */
/*
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.2 2013/05/15 21:39:30 pooka Exp
*/
#ifndef _RUMP_SUNOS_SYS_SYSCALL_H_
#define _RUMP_SUNOS_SYS_SYSCALL_H_
#define RUMP_SUNOS_SYS_MAXSYSARGS 8
/* syscall: "nosys" ret: "int" args: */
#define RUMP_SUNOS_SYS_nosys 0
/* syscall: "read" ret: "ssize_t" args: "int" "void *" "size_t" */
#define RUMP_SUNOS_SYS_read 3
/* syscall: "write" ret: "ssize_t" args: "int" "const void *" "size_t" */
#define RUMP_SUNOS_SYS_write 4
/* syscall: "close" ret: "int" args: "int" */
#define RUMP_SUNOS_SYS_close 6
/* syscall: "link" ret: "int" args: "const char *" "const char *" */
#define RUMP_SUNOS_SYS_link 9
/* syscall: "unlink" ret: "int" args: "const char *" */
#define RUMP_SUNOS_SYS_unlink 10
/* syscall: "chdir" ret: "int" args: "const char *" */
#define RUMP_SUNOS_SYS_chdir 12
/* syscall: "fchdir" ret: "int" args: "int" */
#define RUMP_SUNOS_SYS_fchdir 13
/* syscall: "chmod" ret: "int" args: "const char *" "int" */
#define RUMP_SUNOS_SYS_chmod 15
/* syscall: "chown" ret: "int" args: "const char *" "int" "int" */
#define RUMP_SUNOS_SYS_chown 16
/* syscall: "getpid" ret: "pid_t" args: */
#define RUMP_SUNOS_SYS_getpid 20
/* syscall: "setuid" ret: "int" args: "int" */
#define RUMP_SUNOS_SYS_setuid 23
/* syscall: "getuid" ret: "int" args: */
#define RUMP_SUNOS_SYS_getuid 24
/* syscall: "geteuid" ret: "int" args: */
#define RUMP_SUNOS_SYS_geteuid 25
/* syscall: "access" ret: "int" args: "const char *" "int" */
#define RUMP_SUNOS_SYS_access 33
/* syscall: "sync" ret: "void" args: */
#define RUMP_SUNOS_SYS_sync 36
/* syscall: "dup" ret: "int" args: "int" */
#define RUMP_SUNOS_SYS_dup 41
/* syscall: "pipe" ret: "int" args: */
#define RUMP_SUNOS_SYS_pipe 42
/* syscall: "getgid" ret: "int" args: */
#define RUMP_SUNOS_SYS_getgid 47
/* syscall: "symlink" ret: "int" args: "const char *" "const char *" */
#define RUMP_SUNOS_SYS_symlink 57
/* syscall: "readlink" ret: "ssize_t" args: "const char *" "char *" "int" */
#define RUMP_SUNOS_SYS_readlink 58
/* syscall: "umask" ret: "mode_t" args: "mode_t" */
#define RUMP_SUNOS_SYS_umask 60
/* syscall: "chroot" ret: "int" args: "const char *" */
#define RUMP_SUNOS_SYS_chroot 61
/* syscall: "getgroups" ret: "int" args: "int" "int *" */
#define RUMP_SUNOS_SYS_getgroups 79
/* syscall: "setgroups" ret: "int" args: "int" "const int *" */
#define RUMP_SUNOS_SYS_setgroups 80
/* syscall: "getpgrp" ret: "int" args: */
#define RUMP_SUNOS_SYS_getpgrp 81
/* syscall: "setpgid" ret: "int" args: "int" "int" */
#define RUMP_SUNOS_SYS_setpgid 82
/* syscall: "dup2" ret: "int" args: "int" "int" */
#define RUMP_SUNOS_SYS_dup2 90
/* syscall: "fsync" ret: "int" args: "int" */
#define RUMP_SUNOS_SYS_fsync 95
/* syscall: "readv" ret: "ssize_t" args: "int" "struct iovec *" "int" */
#define RUMP_SUNOS_SYS_readv 120
/* syscall: "writev" ret: "ssize_t" args: "int" "struct iovec *" "int" */
#define RUMP_SUNOS_SYS_writev 121
/* syscall: "fchown" ret: "int" args: "int" "int" "int" */
#define RUMP_SUNOS_SYS_fchown 123
/* syscall: "fchmod" ret: "int" args: "int" "int" */
#define RUMP_SUNOS_SYS_fchmod 124
/* syscall: "setreuid" ret: "int" args: "int" "int" */
#define RUMP_SUNOS_SYS_setreuid 126
/* syscall: "setregid" ret: "int" args: "int" "int" */
#define RUMP_SUNOS_SYS_setregid 127
/* syscall: "rename" ret: "int" args: "char *" "char *" */
#define RUMP_SUNOS_SYS_rename 128
/* syscall: "flock" ret: "int" args: "int" "int" */
#define RUMP_SUNOS_SYS_flock 131
/* syscall: "sendto" ret: "int" args: "int" "void *" "int" "int" "void *" "int" */
#define RUMP_SUNOS_SYS_sendto 133
/* syscall: "shutdown" ret: "int" args: "int" "int" */
#define RUMP_SUNOS_SYS_shutdown 134
/* syscall: "mkdir" ret: "int" args: "const char *" "int" */
#define RUMP_SUNOS_SYS_mkdir 136
/* syscall: "rmdir" ret: "int" args: "const char *" */
#define RUMP_SUNOS_SYS_rmdir 137
/* syscall: "setsid" ret: "int" args: */
#define RUMP_SUNOS_SYS_setsid 147
/* syscall: "pread" ret: "ssize_t" args: "int" "char *" "size_t" "int" "off_t" */
#define RUMP_SUNOS_SYS_pread 173
/* syscall: "pwrite" ret: "ssize_t" args: "int" "char *" "size_t" "int" "off_t" */
#define RUMP_SUNOS_SYS_pwrite 174
/* syscall: "setgid" ret: "int" args: "gid_t" */
#define RUMP_SUNOS_SYS_setgid 181
/* syscall: "setegid" ret: "int" args: "gid_t" */
#define RUMP_SUNOS_SYS_setegid 182
/* syscall: "seteuid" ret: "int" args: "uid_t" */
#define RUMP_SUNOS_SYS_seteuid 183
/* syscall: "lseek" ret: "long" args: "int" "int" "off_t" "int" */
#define RUMP_SUNOS_SYS_lseek 199
/* syscall: "truncate" ret: "int" args: "const char *" "int" "off_t" */
#define RUMP_SUNOS_SYS_truncate 200
/* syscall: "ftruncate" ret: "int" args: "int" "int" "off_t" */
#define RUMP_SUNOS_SYS_ftruncate 201
/* syscall: "getpgid" ret: "pid_t" args: "pid_t" */
#define RUMP_SUNOS_SYS_getpgid 207
/* syscall: "poll" ret: "int" args: "struct pollfd *" "u_int" "int" */
#define RUMP_SUNOS_SYS_poll 209
/* syscall: "getsid" ret: "pid_t" args: "pid_t" */
#define RUMP_SUNOS_SYS_getsid 286
/* syscall: "__getcwd" ret: "int" args: "char *" "size_t" */
#define RUMP_SUNOS_SYS___getcwd 296
/* syscall: "fchroot" ret: "int" args: "int" */
#define RUMP_SUNOS_SYS_fchroot 297
/* syscall: "utimes" ret: "int" args: "char *" "struct timeval50 *" */
#define RUMP_SUNOS_SYS_utimes 420
/* syscall: "futimes" ret: "int" args: "int" "struct timeval50 *" */
#define RUMP_SUNOS_SYS_futimes 423
/* syscall: "__mknod50" ret: "int" args: "const char *" "mode_t" "int" */
#define RUMP_SUNOS_SYS___mknod50 450
#define RUMP_SUNOS_SYS_MAXSYSCALL 477
#define RUMP_SUNOS_SYS_NSYSENT 512
#endif /* _RUMP_SUNOS_SYS_SYSCALL_H_ */