DOKK / manpages / debian 10 / freebsd-manpages / sysarch.2freebsd.en
SYSARCH(2) System Calls Manual SYSARCH(2)

sysarcharchitecture-dependent system call

Standard C Library (libc, -lc)

#include <machine/sysarch.h>

int
sysarch(int number, void *args);

The () system call performs the architecture-dependent function specified by number with the arguments specified by the args pointer. The args argument 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 () 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 system calls for information about their return values.

i386_get_ioperm(2), i386_get_ldt(2), i386_vm86(2)

This manual page was taken from NetBSD.

October 11, 1993 Debian