_rmtmp_rmtmp
Quita archivos temporales.Removes temporary files.
SintaxisSyntax
int _rmtmp( void );
Valor devueltoReturn Value
_rmtmp devuelve el número de archivos temporales cerrados y eliminados._rmtmp returns the number of temporary files closed and deleted.
ObservacionesRemarks
La función _rmtmp limpia todos los archivos temporales del directorio actual.The _rmtmp function cleans up all temporary files in the current directory. La función quita solo los archivos creados por tmpfile; Úselo solo en el mismo directorio en el que se crearon los archivos temporales.The function removes only those files created by tmpfile; use it only in the same directory in which the temporary files were created.
De forma predeterminada, el ámbito de este estado global de esta función es la aplicación.By default, this function's global state is scoped to the application. Para cambiar esto, vea estado global en CRT.To change this, see Global state in the CRT.
RequisitosRequirements
RutinaRoutine | Encabezado necesarioRequired header |
---|---|
_rmtmp_rmtmp | <stdio.h> |
Para obtener más información sobre compatibilidad, vea Compatibility.For more compatibility information, see Compatibility.
BibliotecasLibraries
Todas las versiones de las bibliotecas en tiempo de ejecución de C.All versions of the C run-time libraries.
EjemploExample
Vea el ejemplo de tmpfile.See the example for tmpfile.
Consulta tambiénSee also
E/S de secuenciaStream I/O
_flushall_flushall
tmpfiletmpfile
_tempnam, _wtempnam, tmpnam, _wtmpnam_tempnam, _wtempnam, tmpnam, _wtmpnam