umin(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– umin(9) πŸ’–

okay so you're reading the Kernel API Manual bestie, and this page is all about umin β€” literally just "return minimum of two non-negative values". and there's a lil footnote-style clause right after it: signed types are zero extended to match a larger unsigned type. that's the whole vibe. ✨


🌸 SYNOPSIS 🌸

umin (x , y );

that's it. that's the call. two args, one tiny little winner. πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • x β€” first value 🫢
  • y β€” second value 🫢

two lil contestants, one gets crowned. no cap.


πŸ‘‘ SEE ALSO πŸ‘‘

this is the friend group, and they're all iconique:

Kernel file ./include/linux/minmax.h β€” the home base for this whole squad πŸ’…

like, the way this is basically a whole minmax friend group and umin is just one member serving looks 😭πŸ”₯ go read the rest, they all ate.


lowkey reminder: signed types get zero extended to match a larger unsigned type β€” that's the fine print and it's fr fr part of the deal, don't skip it πŸ’€

and that's the page! brought to you by ./include/linux, dated October 2026, straight from the Kernel API Manual β€” umin(9) out. mwah πŸ’‹πŸŒˆβ­

πŸ“¦ where this page comes from