futex_match(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– futex_match(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” this page is literally about futex_match, and it's giving tiny-but-iconic energy ✨. no cap, it's short, but every detail is here.

🌸 NAME 🌸

futex_match β€” check whether two futex keys are equal πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

int futex_match (union futex_key *key1 , union futex_key *key2 );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • key1 β€” Pointer to key1 🫢 like, that's the first key pointer, bestie.
  • key2 β€” Pointer to key2 πŸ’– and that's the second one, periodt.

✨ DESCRIPTION ✨

Return 1 if two futex_keys are equal, and 0 otherwise πŸ”₯. That's the whole vibe check: equal keys? 1. not equal? 0. iconic, honestly.

πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./kernel/futex/futex.h and friends: struct futex_q(9), futex_queue(9), struct futex_vector(9) 🌈

signed off from ./kernel/futex, October 2026, on page futex_match(9) πŸŽ€πŸ’œ

πŸ“¦ where this page comes from