+1 to Justin.
Can others stfu about ioctls already? They operate on file descriptors. That means you need to open(), do the ioctl() then close(). What's the fucking difference compared to a normal read?
The whole point of this syscall is to avoid the open() and close() syscalls.
Can others stfu about ioctls already? They operate on file descriptors. That means you need to open(), do the ioctl() then close(). What's the fucking difference compared to a normal read?
The whole point of this syscall is to avoid the open() and close() syscalls.
Comment