Namespaces
Variants
Views
Actions

remove

From cppreference.com
< c‎ | io
Defined in header <stdio.h>
int remove( const char *fname );

Deletes the file identified by character string pointed to by fname.

Contents

[edit] Parameters

fname - pointer to a null-terminated string containing the path identifying the file to delete

[edit] Return value

0 upon success or non-zero value on error.

[edit] Example

[edit] See also

renames a file
(function) [edit]