3 ms·
On POSIX filesystems, deleting a file removes the name from the directory list, but the actual file is still available to open file descriptors. The point is,
by yokaze 6y ago
On POSIX filesystems, deleting a file removes the name from the directory list, but the actual file is still available to open file descriptors.
The point is, if I go by names, there is no guarantee of identity. File-descrpitors ensure that.
Same could be done with c++, but the libraries are not designed that way.
Still, I don't find it terribly convincing.