max_array(9)
π max_array(9) π
okay so bestie, this is the Kernel API Manual page for max_array, and it's literally giving "find the biggest value in the array" main character energy. no cap. π«Ά
β¨ NAME β¨
max_array β return maximum of values present in an array π
π SYNOPSIS π
max_array (array , len );
π ARGUMENTS π
arrayβ array. that's the collection you're checking, bestie.lenβ array length. like how many things are in it.
π¦ DESCRIPTION π¦
okay so the important note, and i'm saying this with love: Note that len must not be zero (empty array). that's the caveat. do not come in here with an empty array, because that is not the vibe. π
πΈ SEE ALSO πΈ
the kernel min/max/clamp besties, all from Kernel file ./include/linux/minmax.h:
min(9)max(9)umin(9)umax(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)in_range(9)swap(9)
okay that's the page, periodt. source/version: ./include/linux Β· date: October 2026 Β· title: max_array(9) β mwah πβ¨
π¦ 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