| title |
_rmtmp | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
article |
| apiname |
|
| apilocation |
msvcrt.dll |
msvcr80.dll |
msvcr90.dll |
msvcr100.dll |
msvcr100_clr0400.dll |
msvcr110.dll |
msvcr110_clr0400.dll |
msvcr120.dll |
msvcr120_clr0400.dll |
ucrtbase.dll |
api-ms-win-crt-stdio-l1-1-0.dll |
|
| apitype |
DLLExport |
| f1_keywords |
|
| dev_langs |
|
| helpviewer_keywords |
removing temporary files |
_rmtmp function |
files [C++], temporary |
rmtmp function |
files [C++], removing |
temporary files [C++], removing |
|
| ms.assetid |
7419501e-2587-4f2a-b469-0dca07f84736 |
| caps.latest.revision |
10 |
| author |
corob-msft |
| ms.author |
corob |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
Removes temporary files.
_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.
| Routine |
Required header |
_rmtmp |
<stdio.h> |
For more compatibility information, see Compatibility in the Introduction.
All versions of the C run-time libraries.
See the example for tmpfile.
Stream I/O
_flushall
tmpfile
_tempnam, _wtempnam, tmpnam, _wtmpnam