parameqn(9)
β¨ 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 π¦
- the kernel file
./include/linux/moduleparam.hβ that's where she lives π module_param(9)module_param_unsafe(9)module_param_named(9)module_param_named_unsafe(9)module_param_cb(9)core_param_cb(9)postcore_param_cb(9)arch_param_cb(9)subsys_param_cb(9)fs_param_cb(9)device_param_cb(9)late_param_cb(9)core_param(9)core_param_unsafe(9)__core_param_cb(9)module_param_string(9)parameq(9)module_param_array(9)module_param_array_named(9)module_param_hw_named(9)module_param_hw_array(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms