Namespaces
Variants
Views
Actions

remove

From cppreference.com
< c‎ | io
Revision as of 21:36, 31 May 2013 by P12bot (Talk | contribs)

Defined in header <stdio.h>
int remove( const char *fname );

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

Contents

Parameters

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

Return value

0 upon success or non-zero value on error.

Example

See also

renames a file
(function) [edit]