imo using ioctl() directly should be seen the same as using syscall() directly, ...

@navi@social.vlhl.dev

imo using ioctl() directly should be seen the same as using syscall() directly, aka, "don't do it and make/use a type safe wrapper instead"

it's honestly weird to me that new syscalls get new libc wrappers, but ioctls just don't¹ considering both have the same limitations, ioctls just feel like "syscalls scoped for a specific device via it's fd"

1: i mean it doesn't *have* to be on libc, libdrm is a nice wrapper for drm ioctls