2001-11-13 05:07:52 +03:00
|
|
|
/* $NetBSD: irix_syscallargs.h,v 1.2 2001/11/13 02:08:32 lukem Exp $ */
|
2001-09-22 22:51:35 +04:00
|
|
|
|
|
|
|
/*
|
|
|
|
* System call argument lists.
|
|
|
|
*
|
|
|
|
* DO NOT EDIT-- this file is automatically generated.
|
2001-11-13 05:07:52 +03:00
|
|
|
* created from NetBSD: syscalls.master,v 1.1 2001/09/22 18:51:36 manu Exp
|
2001-09-22 22:51:35 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _IRIX_SYS__SYSCALLARGS_H_
|
|
|
|
#define _IRIX_SYS__SYSCALLARGS_H_
|
|
|
|
|
|
|
|
#ifdef syscallarg
|
|
|
|
#undef syscallarg
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define syscallarg(x) \
|
|
|
|
union { \
|
|
|
|
register_t pad; \
|
|
|
|
struct { x datum; } le; \
|
2001-11-13 05:07:52 +03:00
|
|
|
struct { /* LINTED zero array dimension */ \
|
|
|
|
int8_t pad[ /* CONSTCOND */ \
|
|
|
|
(sizeof (register_t) < sizeof (x)) \
|
2001-09-22 22:51:35 +04:00
|
|
|
? 0 \
|
|
|
|
: sizeof (register_t) - sizeof (x)]; \
|
|
|
|
x datum; \
|
|
|
|
} be; \
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* System call prototypes.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#endif /* _IRIX_SYS__SYSCALLARGS_H_ */
|