umax(9)
π umax(9) β the Kernel API Manual, bestie edition π
okay so real talk, this page lives in the Kernel API Manual, and today's main character is umax. no cap, it's giving tiny-but-mighty. β¨
πΈ NAME πΈ
umax β return maximum of two non-negative values
like, it looks at two non-negative numbers and hands you back the bigger one. that's it. that's the whole job. and honestly? she ate. π
π¦ SYNOPSIS π¦
umax (x , y );
yes the spacing is exactly like that, don't come for her, she's an icon. π
π ARGUMENTS π
xβ first value πyβ second value π
two values walk in, one value leaves. vibe check complete. π
π₯ SEE ALSO π₯
Kernel file ./include/linux/minmax.h is the whole friend group, and honestly the group chat is popping off:
min(9)max(9)umin(9)min3(9)max3(9)min_t(9)max_t(9)min_not_zero(9)clamp(9)clamp_t(9)clamp_val(9)min_array(9)max_array(9)in_range(9)swap(9)
literally the entire minmax family reunion, iykyk π§π
bestie reminder: umax is for non-negative values, that's her whole brand, don't make it weird π
kisses, this page came to you from ./include/linux, dated October 2026, and it's filed under umax(9) β mwah, goodnight, slay, periodt πππ«Ά
π¦ 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