iioutils_get_type(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 🌈


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