IIO_ENUM_AVAILABLE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

IIO_ENUM_AVAILABLE β€” okay so this one initializes that enum available extended channel attribute, bestie. That's the whole name, and yes it's a mouthful πŸ’…

This is the IIO_ENUM_AVAILABLE(9) page from the Kernel API Manual β€” welcome to the group chat 🫢✨

πŸ““ SYNOPSIS πŸ““

IIO_ENUM_AVAILABLE (_name , _shared , _e );

πŸŽ€ ARGUMENTS πŸŽ€

  • _name β€” the attribute name. Heads up: "_available" will be appended to the name. Slay.
  • _shared β€” whether the attribute is shared between all channels. Simple as that.
  • _e β€” pointer to an iio_enum struct. No cap.

πŸ’– DESCRIPTION πŸ’–

okay so this creates a read only attribute that lists all the available enum items in a space separated list. It's giving little menu energy, but make it kernel πŸ”₯

This should usually be used together with IIO_ENUM β€” they're a matched set, iykyk πŸ’«

πŸ¦‹ SEE ALSO πŸ¦‹

the whole extended friend group is here, no cap:


IIO_ENUM_AVAILABLE(9) is serving Kernel API Manual energy, and this page came from source ./include/linux/iio, dated October 2026. xoxo, your kernel bestie πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from