iio_push_to...ts_unaligned(9)
π iio_push_to...ts_unaligned(9) π
okay so this is the Kernel API Manual page for iio_push_to_buffers_with_ts_unaligned, and it's giving βspecial buffer-pushing variantβ energy. Buckle up, bestie. π«Ά
πΈ NAME πΈ
iio_push_to_buffers_with_ts_unaligned β push to registered buffer, no alignment or space requirements. No cap. β¨
β¨ SYNOPSIS β¨
int iio_push_to_buffers_with_ts_unaligned (struct iio_dev *indio_dev , const void *data , size_t data_sz , s64 timestamp );
π«Ά ARGUMENTS π«Ά
indio_devβ theiio_devstructure for the device. That's your device's little main-character struct. πdataβ channel data, and it is excluding the timestamp. Timestamp stays out of this pile, periodt. π«data_szβ size ofdata. Literally how big the data is. πtimestampβ timestamp for the sample data. The when of the sample. β°
π DESCRIPTION π
This special variant of iio_push_to_buffers_with_timestamp does not require space for the timestamp, and it does not require 8 byte alignment of data. Slay for flexibility. β¨
But not me warning you: it does require an allocation on the first call and additional copies on all calls, so it should be avoided if possible. That's the catch, bestie. π
π¨ high-maintenance alert: allocation on the first call + extra copies every call = avoid this if you can. Not dramatic, just true. π
π΄ CONTEXT π΄
May sleep. That's the whole note. π€
π RETURN π
0on success β- negative error code on failure β
π₯ SEE ALSO π₯
Kernel file: ./drivers/iio/industrialio-buffer.c β and the bestie lineup is:
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(9)iio_buffer_release(9)iio_buffer_get(9)iio_buffer_put(9)iio_device_attach_buffer(9)
cute sign-off: source/version is ./drivers/iio, date is October 2026, and this page has officially left the chat. bye bestie π«Άπ
π¦ 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