iio_push_to_buffers(9)
β¨ 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β theiio_devstructure 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 β
0on 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:
iio_buffer_read(9)iio_buffer_poll(9)iio_buffer_wakeup_poll(9)iio_scan_mask_set(9)struct iio_demux_table(9)iio_validate_scan_mask_onehot(9)iio_push_to_buffers_with_ts_unaligned(9)iio_buffer_release(9)iio_buffer_get(9)iio_buffer_put(9)iio_device_attach_buffer(9)
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
- 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