_rmtmp
Removes temporary files.
int _rmtmp( void );
_rmtmp
returns the number of temporary files closed and deleted.
The _rmtmp
function cleans up all temporary files in the current directory. The function removes only those files created by tmpfile
; use it only in the same directory in which the temporary files were created.
By default, this function's global state is scoped to the application. To change this behavior, see Global state in the CRT.
Routine | Required header |
---|---|
_rmtmp |
<stdio.h> |
For more compatibility information, see Compatibility.
All versions of the C run-time libraries.
See the example for tmpfile
.
Stream I/O
_flushall
tmpfile
_tempnam
, _wtempnam
, tmpnam
, _wtmpnam