futex_parse_waitv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… futex_parse_waitv(9) πŸ’…

okay so this is the futex_parse_waitv(9) page from the Kernel API Manual, and it's literally giving β€œparse a waitv array from userspace” energy 🫢✨


✨ NAME ✨

futex_parse_waitv β€” parse a waitv array from userspace, bestie πŸ’–

🌸 SYNOPSIS 🌸

       int futex_parse_waitv (struct futex_vector *futexv , struct futex_waitv
       __user *uwaitv , unsigned int nr_futexes , futex_wake_fn *wake , void
       *wake_data );

πŸŽ€ ARGUMENTS πŸŽ€

  • futexv β€” the kernel-side list of waiters that's getting filled in, like a little VIP section for waiters 🫢
  • uwaitv β€” the userspace list that's getting parsed, periodt ✨
  • nr_futexes β€” the length of futexv, aka how many futexes we're dealing with πŸ”’
  • wake β€” the wake handler to call when the futex is woken, no cap πŸ‘‘
  • wake_data β€” the data for that wake handler, handing it right over πŸ’Œ

πŸ’– RETURN πŸ’–

Error code on failure, 0 on success β€” so if it flops you get an error code, and if it slays you get 0 😌✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./kernel/futex/syscalls.c is the spot, and you also gotta peek at sys_set_robust_list(9), sys_get_robust_list(9), and sys_futex_waitv(9) β€” iykyk πŸ‘‘


mwah πŸ’‹ this page lives in ./kernel/futex, it's stamped October 2026, and it's literally futex_parse_waitv(9) β€” bye bestie 🫢🌈

πŸ“¦ where this page comes from