logoalt Hacker News

yellowapplelast Sunday at 5:57 AM0 repliesview on HN

Another possible factor driving the decision to use numbered file descriptors: the logic to validate that a file exists (or can exist) at a given path, is readable/writable, etc. gets punted to the shell instead of being something the program itself has to worry about.