Open hark130 opened 4 months ago
skid_file_descriptor_control.h
skid_file_descriptor_control.c
Add functions for these "demonstrate the proper use of..." objectives:
dup
ioctl
fcntl
NOTE: You'll probably want to add a generic open() implementation somewhere?
open()
This has a good, practical rundown of ioctl usage. This seems to have some good code examples.
SPOILERS: There's a character driver requirement in the JQR line items so maybe save the ioctl work until then? Doubly so if there's a LKM line item.
skid_file_descriptor_control.h
skid_file_descriptor_control.c
Add functions for these "demonstrate the proper use of..." objectives:
dup
ioctl
fcntl
NOTE: You'll probably want to add a generic
open()
implementation somewhere?