iio_event_poll(9)
β¨ NAME β¨
okay so bestie, welcome to the Kernel API Manual entry for iio_event_poll β the whole point is literally to poll the event queue to find out if it has data π
β¨
πΈ SYNOPSIS πΈ
__poll_t iio_event_poll (struct file *filep , struct poll_table_struct
*wait );
π ARGUMENTS π
filepβ a file structure pointer that identifies the device πwaitβ a poll table pointer to add the wait queue on π«Ά
π RETURN π
It returns (EPOLLIN | EPOLLRDNORM) if data is available for reading, or a negative error code on failure π. thatβs the vibe check: readable data or nope, no cap.
π¦ SEE ALSO π¦
- Kernel file
./drivers/iio/industrialio-event.cβ like, the actual source bestie π - struct
iio_event_interface(9)π§ iio_push_event(9)β¨iio_device_wakeup_eventset(9)π«
signed with love from the ./drivers/iio corner of the kernel, dated October 2026 ππ
π¦ 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