6 long syscall(long n
, ...)
9 syscall_arg_t a
,b
,c
,d
,e
,f
;
11 a
=va_arg(ap
, syscall_arg_t
);
12 b
=va_arg(ap
, syscall_arg_t
);
13 c
=va_arg(ap
, syscall_arg_t
);
14 d
=va_arg(ap
, syscall_arg_t
);
15 e
=va_arg(ap
, syscall_arg_t
);
16 f
=va_arg(ap
, syscall_arg_t
);
18 return __syscall_ret(__syscall(n
,a
,b
,c
,d
,e
,f
));