3 ms·
/proc is for stuff like shell automation, not normal 'file' use. The idea is that files are just byte streams/arrays, and pretty good to be optimized. System ca
by xxs 3y ago
/proc is for stuff like shell automation, not normal 'file' use. The idea is that files are just byte streams/arrays, and pretty good to be optimized. System calls will always be better than /proc, that's not the point at all.
- SubjectToChange 3y ago/proc is for stuff like shell automation, not normal 'file' use. Systems like /proc/ are cornerstones of the “Everything is a file” concept. The idea is that files are just byte streams/arrays, and pretty good to be optimized. If your point is simply that “files are efficient because they are just dumb bags of bytes”, then you are in a rude awakening.