SEM(4)

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

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 πŸ‘‘


🌈 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