bsort_channe...ray_by_index(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ bsort_channe...ray_by_index(9) ✨

okay so this one is from the Kernel API Manual (section 9, kernel developer vibes only πŸ’…) and the title is literally truncated in the source β€” bsort_channe...ray_by_index β€” so bestie, that's what we're calling it, no cap 🫢


🌸 NAME 🌸

bsort_channel_array_by_index β€” sorts the array into index order ✨ like, it puts your array in index order, that's the whole gig, slay πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

void bsort_channel_array_by_index (struct iio_channel_info *ci_array ,
int cnt );

that's it, that's the signature, void return so nothing comes back out, iconic πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ci_array β€” the iio_channel_info array that's getting sorted, main character energy fr fr 🌟
  • cnt β€” the amount of array elements, like how many lil guys are in there bestie, count 'em πŸ”’

🌈 SEE ALSO 🌈

the kernel file lives at ./tools/iio/iio_utils.c β€” go read it iykyk πŸ‘‘

and then there's the whole friend group, all of them, in order:

iioutils_break_up_name(9), iioutils_get_type(9), iioutils_get_param_float(9), build_channel_array(9), find_type_by_name(9), write_sysfs_int(9), write_sysfs_int_and_verify(9), write_sysfs_string_and_verify(9), write_sysfs_string(9), read_sysfs_posint(9), read_sysfs_float(9), read_sysfs_string(9)

that's twelve functions bestie, we listed every single one, no skips, periodt πŸ’€βœ¨


real talk: it's void, so don't go assigning the result to anything β€” there is no result πŸ™ˆ

and that's the whole page!! mwah πŸ’œ

cute lil sign-off: this one comes from ./tools/iio, dated October 2026, and it's still titled bsort_channe...ray_by_index(9) because the truncation is part of the lore now πŸŽ€ go sort ur arrays bestie, ily 🫢✨

πŸ“¦ where this page comes from