Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

_rmtmp

Removes temporary files.

int _rmtmp( void );

Return Value

_rmtmp returns the number of temporary files closed and deleted.

Remarks

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.

Requirements

Routine Required header Compatibility
_rmtmp <stdio.h> Win 98, Win Me, Win NT, Win 2000, Win XP

For additional compatibility information, see Compatibility in the Introduction.

Libraries

All versions of the C run-time libraries.

Example

See the example for tmpfile.

See Also

Stream I/O Routines | _flushall | tmpfile | tmpnam | Run-Time Routines and .NET Framework Equivalents

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.