min_array(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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:


mwah πŸ’‹ β€” source/version: ./include/linux, date: October 2026. min_array(9) out! πŸ’…βœ¨

πŸ“¦ where this page comes from