logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

sysarch — architecture-dependent system call

Description

The sysarch() 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 sysarch() system call should never be called directly by user programs. Instead, they should access its functions using the architecture-dependent library.

History

This manual page was taken from NetBSD. Debian October 11, 1993 SYSARCH(2)

Library

Standard C Library (libc, -lc)

Name

sysarch — architecture-dependent system call

Return Values

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

See Also

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

Synopsis

#include<machine/sysarch.h>intsysarch(intnumber, void*args);

See Also