阅读背景:

重新链接一个匿名(未链接但打开的)文件

来源:互联网 

In Unix, it's possible to create a handle to an anonymous file by, e.g., creating and opening it with creat() and then removing the directory link with unlink() - leaving you with a file with an inode and storage but no possible way to re-open it. Such files are often used as temp files (and typically this is what tmpfile() returns to you).In Unix, it's possible to create a handle to an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: