SEM(4)
okay so bestie, welcome to the sem(4) manual page β it's giving POSIX semaphores and honestly it's kinda iconic π
β¨
πΈ NAME πΈ
sem β POSIX semaphores π«Ά
β¨ SYNOPSIS β¨
To compile this driver into the kernel, place the following line in your kernel configuration file:
options P1003_1B_SEMAPHORES
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
sem_load="YES"
To load the driver as a module at run-time, run the following command as root:
kldload sem
π¦ DESCRIPTION π¦
The sem facility provides system calls used by the standard C library (libc) to implement POSIX semaphores β¨
This facility offers support for such functions as sem_init() and sem_wait() π
It is available both as a kernel option for static inclusion and as a dynamic kernel module β so you've got options, bestie, and both of them slay π
π SEE ALSO π
sem_destroy(3)sem_getvalue(3)sem_init(3)sem_open(3)sem_post(3)sem_wait(3)config(8)kldload(8)kldunload(8)
π HISTORY π
The sem facility appeared in FreeBSD 5.0 π¦
mwah π this little page was brought to you by Debian on February 7, 2014 β that's the source/version + date footer energy, bestie, and we are obsessed πβ¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2002 Tim J. Robbins
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms