v4l2_event_dequeue(9)
π v4l2_event_dequeue(9)
okay so welcome to the Kernel API Manual, bestie β this is the page for v4l2_event_dequeue(9), and it's short, sweet, and extremely specific. It dequeues events from a video device. That's the vibe. No cap. π
β¨ NAME β¨
v4l2_event_dequeue β dequeue events from a video device.
Like, the function name is literally the whole plot: you're pulling events out of a video device's queue. Simple, iconic, ate. π
π SYNOPSIS π
here's the signature so you can copy it into your little kernel brain exactly as it is:
int v4l2_event_dequeue (struct v4l2_fh *fh , struct v4l2_event *event ,
int nonblocking );
π ARGUMENTS π
three args, all main characters:
fhβ pointer tostruct v4l2_fh. yes bestie, it's a pointer.eventβ pointer tostruct v4l2_event. another pointer, we stay pointing.nonblockingβ if it's not zero, it waits for an event to arrive. that's the manual's wording, okay? read it twice if you need to. π₯
π SEE ALSO π
the cross-references are giving whole-friend-group energy. the kernel file is ./include/media/v4l2-event.h, and the squad is:
struct v4l2_kevent(9)struct v4l2_subscribed_event_ops(9)struct v4l2_subscribed_event(9)v4l2_event_queue(9)v4l2_event_queue_fh(9)v4l2_event_wake_all(9)v4l2_event_pending(9)v4l2_event_subscribe(9)v4l2_event_unsubscribe(9)v4l2_event_unsubscribe_all(9)v4l2_event_subdev_unsubscribe(9)v4l2_src_change_event_subscribe(9)v4l2_src_change_event_subdev_subscribe(9)
and that's the page, periodt. π
shoutout to the source/version footer situation: ./include/media, October 2026, and yep β v4l2_event_dequeue(9) is the title again. byeee π«Ά
π¦ 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