size_from_channelarray(9)
πΈ NAME πΈ
okay so bestie, this is the size_from_channelarray(9) page from the Kernel API Manual, and it's literally here to calculate the storage size of a scan β¨
β¨ SYNOPSIS β¨
unsigned int size_from_channelarray (struct iio_channel_info *channels , int num_channels );
π«Ά ARGUMENTS π«Ά
channelsβ the channel info array. that's yourstruct iio_channel_info *, bestie πnum_channelsβ number of channels. anint, periodt.
π DESCRIPTION π
Heads up, bestie: this one has the side effect of filling the channels[i].location values used in processing the buffer output. so yeah, it's doing a little more than just calculating the storage size of a scan β it's also filling those channels[i].location values. iconic behavior, ngl. π
β¨
π¦ SEE ALSO π¦
- Kernel file
./tools/iio/iio_generic_buffer.cenumautochan(9),process_scan(9)π
xoxo, this cutie comes from ./tools/iio, dated October 2026, page size_from_channelarray(9) ππ
π¦ 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