删除打开的文件Deleting Open Files

ANSI 4.9.4.1 remove 函数对打开的文件的效果ANSI 4.9.4.1 The effect of the remove function on an open file

remove 函数用于删除文件。The remove function deletes a file. 如果文件处于打开状态,此函数将失败并返回 -1。If the file is open, this function fails and returns -1.

另请参阅See Also

库函数Library Functions