Oracle Solaris Studio 12.2:C 用户指南

E.1.14.20 (7.9.4.1) The effect of the remove function on an open file(remove 函数对打开的文件的影响):

在执行关闭文件的最后一个调用时删除文件。程序不能打开已删除的文件。