iioutils_get_type(9)
β¨ NAME β¨
iioutils_get_type β find and process _type attribute data. Okay so this is the iioutils_get_type(9) page from the Kernel API Manual, bestie π.
π«Ά SYNOPSIS π«Ά
int iioutils_get_type (char *format , unsigned int *bytes , unsigned int *bits_used , unsigned int *shift , uint64_t *mask , unsigned int *be , const char *device_dir , int buffer_idx , const char *name , const char *generic_name );
That's the signature, literally character for character, no cap β¨.
π ARGUMENTS π
formatβ output channel format.bytesβ output how many bytes the channel storage occupies.bits_usedβ output number of valid bits of data.shiftβ output amount of bits to shift right data before applying bit mask.maskβ output a bit mask for the raw data.beβ output if data in big endian.device_dirβ the IIO device directory.buffer_idxβ the IIO buffer index.nameβ the channel name.generic_nameβ the channel type name.
π₯ DESCRIPTION π₯
Returns a value >= 0 on success, otherwise a negative error code. That's the whole vibe check: non-negative is a slay, negative is an error π.
π SEE ALSO π
- Kernel file
./tools/iio/iio_utils.c iioutils_break_up_name(9)iioutils_get_param_float(9)bsort_channel_array_by_index(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)
Signed off from the ./tools/iio source corner, stamped October 2026, and it's still iioutils_get_type(9) β periodt π
π.
π¦ 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