Changeset View
Changeset View
Standalone View
Standalone View
sys/i386/linux/syscalls.master
Show All 31 Lines | |||||
#include <i386/linux/linux_proto.h> | #include <i386/linux/linux_proto.h> | ||||
; Isn't pretty, but there seems to be no other way to trap nosys | ; Isn't pretty, but there seems to be no other way to trap nosys | ||||
#define nosys linux_nosys | #define nosys linux_nosys | ||||
; #ifdef's, etc. may be included, and are copied to the output files. | ; #ifdef's, etc. may be included, and are copied to the output files. | ||||
0 AUE_NULL UNIMPL setup | 0 AUE_NULL UNIMPL setup | ||||
1 AUE_EXIT NOPROTO { void sys_exit(int rval); } exit \ | 1 AUE_EXIT STD { void linux_exit(int rval); } | ||||
sys_exit_args void | |||||
2 AUE_FORK STD { int linux_fork(void); } | 2 AUE_FORK STD { int linux_fork(void); } | ||||
3 AUE_NULL NOPROTO { int read(int fd, char *buf, \ | 3 AUE_NULL NOPROTO { int read(int fd, char *buf, \ | ||||
u_int nbyte); } | u_int nbyte); } | ||||
4 AUE_NULL NOPROTO { int write(int fd, char *buf, \ | 4 AUE_NULL NOPROTO { int write(int fd, char *buf, \ | ||||
u_int nbyte); } | u_int nbyte); } | ||||
5 AUE_OPEN_RWTC STD { int linux_open(char *path, l_int flags, \ | 5 AUE_OPEN_RWTC STD { int linux_open(char *path, l_int flags, \ | ||||
l_int mode); } | l_int mode); } | ||||
6 AUE_CLOSE NOPROTO { int close(int fd); } | 6 AUE_CLOSE NOPROTO { int close(int fd); } | ||||
▲ Show 20 Lines • Show All 522 Lines • Show Last 20 Lines |