min_array(9)
π min_array(9) π
okay so bestie, welcome to the Kernel API Manual β this page is literally about min_array, and itβs giving βfind the smallest value in an arrayβ main character energy. no cap. π«Ά
β¨ NAME β¨
min_array β return minimum of values present in an array. π
β¨ SYNOPSIS β¨
min_array (array , len );
β¨ ARGUMENTS β¨
arrayβ array. like, the array itself, bestie. πΈlenβ array length. aka how many things are in it. π
β¨ DESCRIPTION β¨
π¨ Note: len must not be zero (empty array).
thatβs the whole note, and itβs important β zero is not the vibe here. periodt. π
β¨ SEE ALSO β¨
the kernel file ./include/linux/minmax.h has the whole related crew, and you should absolutely check them out:
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)max_array(9)in_range(9)swap(9)
mwah π β source/version: ./include/linux, date: October 2026. min_array(9) out! π
β¨
π¦ 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