iio_push_to_buffers(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ iio_push_to_buffers(9) ✨

okay so bestie, welcome to the kernel API manual πŸ’… this one's a little function from iio_push_to_buffers(9) and honestly it's giving "small but does the most."


🌸 NAME 🌸

iio_push_to_buffers β€” push to a registered buffer. that's it, that's the whole vibe 🫢


πŸŽ€ SYNOPSIS πŸŽ€

int iio_push_to_buffers (struct iio_dev *indio_dev , const void *data );

like, three things: an int out the front, a struct iio_dev * and a const void *. no notes. 😌


πŸ¦‹ ARGUMENTS πŸ¦‹

  • indio_dev β€” the iio_dev structure for the device. yes, that device. your fave. the one you're pushing for πŸ₯°
  • data β€” the Full scan. the whole thing, not a lil snippet. give it the entire scan, no crumbs πŸ’€

πŸ”₯ CONTEXT πŸ”₯

Any context. literally any. no cap, it does not care where you're calling from β€” go off king πŸ‘‘


⭐ RETURN ⭐

  • 0 on success β€” we love a zero, iconic πŸŽ‰
  • negative error code on failure β€” 😭 not the negative error code, but okay, that's how it goes

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/iio/industrialio-buffer.c, plus the whole friend group:


lowkey go read those too, they're all in the same friend group and they ate πŸ’…

anyway, that's the whole page bestie β€” this one lives over in ./drivers/iio, dated October 2026, and it ships under the iio_push_to_buffers(9) banner (Kernel API Manual energy fr fr). mwah, go push some buffers πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from