Re:Plan 9 from Bell Labs in Cyberspace
by AceJohnny2 on Tuesday March 23, 2021 @06:52PM
(#26561366)
It may be useful to see Russ Cox's "Tour of ACME" video [1]. ACME is a Plan-9 text editor, which applies the "everything is a file" philosophy pretty deeply. It doesn't answer your ioctl question (that I remember), but maybe it'll give you a better example of how other things can be accessed as files.
[1] https://www.youtube.com/watch?v=dP1xVpMPn8M