dvb_usercopy(9)
β¨ NAME β¨
dvb_usercopy β copies data from/to userspace memory when an ioctl is issued. π
Okay bestie, welcome to the dvb_usercopy(9) page from the Kernel API Manual β itβs giving βtiny but crucial kernel sidekickβ energy, and honestly? Obsessed. π«Ά
π οΈ SYNOPSIS π οΈ
int dvb_usercopy (struct file *file , unsigned int cmd , unsigned long
arg , int (*func)(struct file *file, unsigned int cmd, void *arg) );
π ARGUMENTS π
fileβ pointer tostruct file. Like, the file situation, bestie. πcmdβ the Ioctl name. π·οΈargβ the Ioctl argument. π―funcβ the function that will actually handle the ioctl. Sheβs the one doing the real work, fr fr. πͺ
π DESCRIPTION π
So this is an ancillary function β a little helper with main-character energy β that uses the ioctl direction and size to copy from userspace. Then it calls func, and, if needed, data gets copied back to userspace. β¨
Lowkey iconic: itβs the copy-in, call-the-handler, copy-back-out situation. No cap. π
π SEE ALSO π
The whole SEE ALSO squad, straight from the kernel file ./include/media/dvbdev.h:
enum dvb_device_type(9)struct dvb_adapter(9)struct dvb_device(9)struct dvbdevfops_node(9)dvb_device_get(9)dvb_device_put(9)dvb_register_adapter(9)dvb_unregister_adapter(9)dvb_register_device(9)dvb_remove_device(9)dvb_unregister_device(9)dvb_create_media_graph(9)dvb_register_media_controller(9)dvb_get_media_controller(9)dvb_generic_open(9)dvb_generic_release(9)dvb_generic_ioctl(9)dvb_module_probe(9)dvb_module_release(9)dvb_attach(9)dvb_detach(9)
mwah π this lil page lives under ./include/media, itβs dated October 2026, and its manual-page name is dvb_usercopy(9) β periodt. ππ¦
π¦ 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