3 ms·
Unix being "Everything is a file", has been less and less true starting already in the 1980s. Check the 300+ system calls in Linux and there is lot that is not
by usr1106 6y ago
Unix being "Everything is a file", has been less and less true starting already in the 1980s. Check the 300+ system calls in Linux and there is lot that is not a file. Many of the system calls would not even need to exist if everything were a file. I some cases that might make things easier, but I don't claim that should be drven to extremes.
Interesting enough after more than 45 years pidfds [1] got added.
[1] https://lwn.net/Articles/794707/ https://lwn.net/Articles/794707/