key_in_range(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… key_in_range(9) πŸ’…

okay bestie, this little icon is from the Kernel API Manual, and it’s literally here to tell you if a key is living inside a key range or not. ✨


πŸŽ€ NAME πŸŽ€

key_in_range β€” determine if a key falls within a range of keys.


✨ SYNOPSIS ✨

int key_in_range (struct ubifs_info *c , union ubifs_key *key , union
ubifs_key *from_key , union ubifs_key *to_key );

🫢 ARGUMENTS 🫢

  • c β€” the UBIFS file-system description object, aka the context bestie.
  • key β€” the key you’re checking, no cap.
  • from_key β€” lowest key in range.
  • to_key β€” highest key in range.

πŸ”₯ DESCRIPTION πŸ”₯

This function returns 1 if the key is in range and 0 otherwise. That’s the whole thing: a clean little yes-or-no vibe check for your key. πŸ’…


🌈 SEE ALSO 🌈

Kernel file ./fs/ubifs/tnc.c, plus the whole extended friend group:


cute sign-off bestie: this page comes from source ./fs/ubifs, it’s dated October 2026, and yes, it’s the key_in_range(9) manual page. mwah πŸ’‹βœ¨
πŸ“¦ where this page comes from