7 */ 8 9#include <sys/types.h> 10#include <sys/sysent.h> 11#include <sys/sysproto.h> 12#include <netinet/in.h> 13#include <svr4/svr4.h> 14#include <svr4/svr4_types.h> 15#include <svr4/svr4_signal.h> 16#include <svr4/svr4_proto.h> 17 18#define AS(name) (sizeof(struct name) / sizeof(register_t)) 19 20/* The casts are bogus but will do for now. */ 21struct sysent svr4_sysent[] = { 22 { 0, (sy_call_t *)nosys }, /* 0 = unused */
| 7 */ 8 9#include <sys/types.h> 10#include <sys/sysent.h> 11#include <sys/sysproto.h> 12#include <netinet/in.h> 13#include <svr4/svr4.h> 14#include <svr4/svr4_types.h> 15#include <svr4/svr4_signal.h> 16#include <svr4/svr4_proto.h> 17 18#define AS(name) (sizeof(struct name) / sizeof(register_t)) 19 20/* The casts are bogus but will do for now. */ 21struct sysent svr4_sysent[] = { 22 { 0, (sy_call_t *)nosys }, /* 0 = unused */
|
24 { 0, (sy_call_t *)fork }, /* 2 = fork */ 25 { AS(read_args), (sy_call_t *)read }, /* 3 = read */ 26 { AS(write_args), (sy_call_t *)write }, /* 4 = write */ 27 { AS(svr4_sys_open_args), (sy_call_t *)svr4_sys_open }, /* 5 = svr4_sys_open */ 28 { AS(close_args), (sy_call_t *)close }, /* 6 = close */ 29 { AS(svr4_sys_wait_args), (sy_call_t *)svr4_sys_wait }, /* 7 = svr4_sys_wait */ 30 { AS(svr4_sys_creat_args), (sy_call_t *)svr4_sys_creat }, /* 8 = svr4_sys_creat */ 31 { AS(link_args), (sy_call_t *)link }, /* 9 = link */
--- 245 unchanged lines hidden --- | 24 { 0, (sy_call_t *)fork }, /* 2 = fork */ 25 { AS(read_args), (sy_call_t *)read }, /* 3 = read */ 26 { AS(write_args), (sy_call_t *)write }, /* 4 = write */ 27 { AS(svr4_sys_open_args), (sy_call_t *)svr4_sys_open }, /* 5 = svr4_sys_open */ 28 { AS(close_args), (sy_call_t *)close }, /* 6 = close */ 29 { AS(svr4_sys_wait_args), (sy_call_t *)svr4_sys_wait }, /* 7 = svr4_sys_wait */ 30 { AS(svr4_sys_creat_args), (sy_call_t *)svr4_sys_creat }, /* 8 = svr4_sys_creat */ 31 { AS(link_args), (sy_call_t *)link }, /* 9 = link */
--- 245 unchanged lines hidden --- |