sysarch(2)

sysarch2

Architecture-dependent system call

Usage

#include <machine/sysarch.h>

int

sysarch(int number, void *args);

Library

Standard C Library (libc, -lc)

Overview

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.

Return values

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

History

This manual page was taken from NetBSD.

From freebsd-manpages 6.0-5 in Debian 4.0 (Etch). Parsed by carta from the page's mdoc source.