max3(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ max3(9) ✨

okay so bestie, welcome to the kernel API manual πŸ’… this little cutie lives in the max3(9) corner of the Kernel API Manual and honestly? she's giving "small but iconic" πŸŽ€


🌸 NAME 🌸

max3 β€” return maximum of three values πŸ‘‘

like, you give her three things and she hands you back the biggest one. no cap, that's the whole vibe. ⭐


πŸ¦‹ SYNOPSIS πŸ¦‹

max3 (x , y , z );

literally the whole call, right there. copy it exactly, she's picky about her commas πŸ™ˆ


πŸ’– ARGUMENTS πŸ’–

  • x β€” first value πŸ“
  • y β€” second value 🧚
  • z β€” third value 🌈

three besties walk in, one max value walks out. main character energy only. πŸ’€


🫢 SEE ALSO 🫢

okay this section is a whole friend group, not me listing them all out 😭 and yes, they're all hanging out in the kernel file ./include/linux/minmax.h β€” go say hi:

every single one of them, no skips, the full squad ✨


and that's the page bestie πŸŽ€ brought to you from ./include/linux, dated October 2026, filed under max3(9) β€” mwah, go forth and find your maximum πŸ’‹πŸ‘‘

πŸ“¦ where this page comes from