SYSARCH(2) System Calls Manual SYSARCH(2)

sysarch
architecture-dependent system call

Standard C Library (libc, -lc)

#include <machine/sysarch.h>

int
sysarch(int number, void *args);

sysarch() performs the architecture-dependent function specified by number with the arguments specified by the args pointer. args is a pointer to a structure defining the actual arguments of the function. Symbolic constants and argument structures for the architecture-dependent functions can be found in the header file ⟨machine/sysarch.h⟩.

The sysarch() system call should never be called directly by user programs. Instead, they should access its functions using the architecture-dependent library.

See the manual pages for specific architecture-dependent function calls for information about their return values.

The sysarch() function call appeared in NetBSD 1.0.
October 11, 1993 NetBSD 9.0