newary(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– newary(9) β€” Kernel API Manual πŸ’–

πŸŽ€ NAME πŸŽ€

newary β€” Create a new semaphore set ✨

πŸ“œ SYNOPSIS πŸ“œ

int newary (struct ipc_namespace *ns , struct ipc_params *params );

🫢 ARGUMENTS 🫢

  • ns β€” namespace 🌌
  • params β€” ptr to the structure that contains key, semflg and nsems πŸ—‚οΈ

πŸ’… DESCRIPTION πŸ’…

okay so bestie, the whole vibe here is short: it’s called with sem_ids.rwsem held (as a writer). That’s the whole description, no cap 😭

🚨 heads up: β€œheld (as a writer)” is part of the deal, not decoration.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./ipc/sem.c πŸ‘€

🫢 source/version: ./ipc Β· date: October 2026 Β· page: newary(9) β€” byeee πŸ’…

πŸ“¦ where this page comes from