parameqn(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ parameqn β€” checks if two parameter names match ✨

okay so bestie, this is parameqn from the Kernel API Manual, and it's literally the length-limited version of parameq. think of it as the vibe check for parameter names πŸ’…


🌸 SYNOPSIS 🌸

bool parameqn (const char *name1 , const char *name2 , size_t n );

πŸŽ€ ARGUMENTS πŸŽ€

  • name1 β€” the first parameter name, the one on the left of the comparison 🫢
  • name2 β€” the second parameter name, the one on the right 🫢
  • n β€” how many characters you wanna compare, bestie. the length. the limit. the cutoff. βœ‚οΈ

πŸ’– DESCRIPTION πŸ’–

so it's basically parameq, except β€” and this is the whole thing β€” it compares n characters. that's it, that's the girl. like parameq but with a character budget, no cap πŸ”₯


⭐ RETURN ⭐

it gives you back true if the first n characters of the two parameter names are equal πŸ’–

and the iconic detail: dashes (-) are considered equal to underscores (_) ✨ so don't come for her about the punctuation, she does not care, they're the same to her 😌


πŸ¦‹ SEE ALSO πŸ¦‹


ngl that's a whole friend group up there and she's literally related to every single one of them πŸ‘‘

and that's the whole page, bestie! πŸŽ€ written up from ./include/linux in October 2026 β€” mwah, love u, go read parameq(9) next πŸ’œβœ¨πŸ¦‹

πŸ“¦ where this page comes from