Deleting Open Files

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Deleting Open Files.

ANSI 4.9.4.1** The effect of the remove function on an open file

The remove function deletes a file. If the file is open, this function fails and returns -1.

Library Functions

Show: