Hacker News new | ask | show | jobs
by Joker_vD 847 days ago
> Unix processes have file descriptors which point to file descriptions (`struct file` in Linux).

Also known as file handles referencing file objects (on Windows). Unix terminology is unnecessarily confusing in this place IMHO.

On the subject of the article itself: why was this change introduced? To give kernel support for reopen(3) since dup(3) already exists?

2 comments

I propose to reintroduce the term FCB (File Control Block ) to help clear things up :)
Unix terminology is older. FD is a kernel-user interface based on integer map. HANDLE is a typedef'd pointer. Apples vs oranges.