v4l2_query_ext_ctrl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to the v4l2_query_ext_ctrl(9) page from the Kernel API Manual ✨

πŸ’– NAME πŸ’–

v4l2_query_ext_ctrl is literally the helper function that implements the :ref:`VIDIOC_QUERY_EXT_CTRL <vidioc_queryctrl>` ioctl. That's the assignment, and it ate. πŸ’…

✨ SYNOPSIS ✨

int v4l2_query_ext_ctrl (struct v4l2_ctrl_handler *hdl , struct
       v4l2_query_ext_ctrl *qc );

πŸŽ€ ARGUMENTS πŸŽ€

  • hdl β€” pointer to struct v4l2_ctrl_handler. That's the handler bestie.
  • qc β€” pointer to struct v4l2_query_ext_ctrl. That's the query struct.

πŸ¦‹ DESCRIPTION πŸ¦‹

If hdl == NULL then they will all return -EINVAL. That's the whole note, fr fr β€” no extra lore. 😭

🌈 SEE ALSO 🌈

Kernel file ./include/media/v4l2-ctrls.h β€” plus the whole iconic extended friend group:


made with πŸ’– and zero skipped details by ./include/media Β· October 2026 Β· v4l2_query_ext_ctrl(9) 🫢

πŸ“¦ where this page comes from