SYSARCH(2)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

sysarch(2) β€” architecture-dependent system call ✨

bestie, welcome to the SYSARCH(2) manual page β€” it's giving β€œlow-level architecture magic, handle with care” πŸ’…


🌸 NAME 🌸

sysarch β€” architecture-dependent system call

πŸŽ€ LIBRARY πŸŽ€

Standard C Library (libc, -lc)

✨ SYNOPSIS ✨

#include <machine/sysarch.h>

int
sysarch(int number, void *args);

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so sysarch() does the architecture-dependent function you picked with number, using the arguments that args points at. literally: args is a pointer to a structure that defines the actual arguments of the function. the symbolic constants and argument structures for these architecture-dependent functions live in the header file <machine/sysarch.h>, iykyk.

bestie, sysarch() should never be called directly by user programs. no cap. instead, they should access its functions using the architecture-dependent library. that's the whole vibe πŸ’–

πŸ”₯ RETURN VALUES πŸ”₯

see the manual pages for the specific architecture-dependent system calls for info about their return values πŸ‘‘

🌈 SEE ALSO 🌈

πŸ’œ HISTORY πŸ’œ

this manual page was taken from NetBSD 🫢


and that's the page, bestie β€” Debian, October 11, 1993, iconic behavior, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from
  • freebsd 15.1: base 15.1
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms