iio_backend_data_source_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

iio_backend_data_source_set β€” Select data source πŸ’…

okay bestie, this page comes from the Kernel API Manual, and the full page name is iio_backend_data_source_set(9). it's literally about picking a data source, and the vibes are immaculate. πŸ¦‹

🌸 SYNOPSIS 🌸

int iio_backend_data_source_set (struct iio_backend *back , unsigned int
       chan , enum iio_backend_data_source data );

πŸŽ€ ARGUMENTS πŸŽ€

  • back β€” Backend device. the backend device in question, main character energy.
  • chan β€” Channel number. which channel number we're talking about, bestie.
  • data β€” Data source. the data source you're choosing. slay.

πŸ’– DESCRIPTION πŸ’–

okay so a given backend may have different sources to stream/sync data. This function allows you to choose that source. literally choosing the source. periodt. ✨

πŸ”₯ RETURN πŸ”₯

0 on success, and a negative error number on failure. no cap. if it's 0, it ate; if it's negative, that's a failure number. πŸ’€

🌈 SEE ALSO 🌈

Kernel file: ./drivers/iio/industrialio-backend.c β€” yep, that exact path, bestie. 🫢

the whole squad:

mwah πŸ’– β€” signing off from source/version ./drivers/iio, dated October 2026, as iio_backend_data_source_set(9). 🫢

πŸ“¦ where this page comes from