34 ms·
This article is a little bit imprecise at times. It refers to pipes as FIFOs and seems to mix up FILE* and file descriptors. Also it has a lot more IO redirec
by MarkSweep 16y ago
This article is a little bit imprecise at times. It refers to pipes as FIFOs and seems to mix up FILE* and file descriptors.
Also it has a lot more IO redirection and not really much file descriptors except for the very beginning. The description of how redirection works is rather vague. There should be something about how the shell dup()'s over standard file descriptors to create redirection.
- Altreus 16y agoI disagree. The post seems to me like it is aimed at learning new things, not an in-depth investigation on how the things you're already doing work in the background. The things in the article are explained on their own level, and then a level below it, i.e. the file descriptors. How the file descriptors work, where they're stored, things like that, are well out of the scope of the article. IMO.