video_ioctl2(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

video_ioctl2 β€” handles a V4L2 ioctl. also hii bestie, this is the video_ioctl2(9) page from the Kernel API Manual, and it's giving β€œsmall function, big main character energy” ✨

🌸 SYNOPSIS 🌸

long int video_ioctl2 (struct file *file , unsigned int cmd , unsigned long int arg );

πŸŽ€ ARGUMENTS πŸŽ€

  • file β€” pointer to struct file.
  • cmd β€” ioctl name.
  • arg β€” ioctl argument.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so this is the method used to handle an ioctl. and bestie, you should use it to fill v4l2_file_operations.unlocked_ioctl on all V4L2 drivers β€” that's the assignment, fr fr. periodt. πŸ’…

πŸ’œ SEE ALSO πŸ’œ

πŸŽ€ sign-off: this page lives under ./include/media, it's dated October 2026, and it's video_ioctl2(9) through and through. mwah πŸ’‹
πŸ“¦ where this page comes from