3 ms·
> Personally I find the heavy use of ioctls in modern Linux APIs bit distasteful. That's how things work in Windows as well. That's how userland talks to kerne
by vardump 9y ago
> Personally I find the heavy use of ioctls in modern Linux APIs bit distasteful.
That's how things work in Windows as well. That's how userland talks to kernel mode drivers.
Well, except everything is an object.
- hossbeast 9y agoWhich has nothing to say about whether it's a good idea.
- Const-me 9y ago> That's how things work in Windows as well. GPU drivers are different. Basically, Windows have Direct3D already in the kernel, exposing relatively large API surface for the userland half of the driver. https://docs.microsoft.com/en-us/windows-hardware/drivers/display/windows-vista-and-later-display-driver-model-operation-flow https://docs.microsoft.com/en-us/windows-hardware/drivers/di...