sysarch(2freebsd)

sysarch2freebsd

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.

Releases

9 releases since Debian 5.0 (Lenny); the text changed 6 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8
  5. 9
  6. 10
  7. 11–13

History

This manual page was taken from NetBSD.

From freebsd-manpages 12.2-2 in Debian 13 (Trixie). Parsed by carta from the page's mdoc source.