Namespaces
Variants
Views
Actions

remove

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

 
 
File input/output


Functions
File access
Direct input/output
Unformatted input/output
(C95)(C95)
(C95)
(C95)(C95)
(C95)
(C95)
Formatted input
Formatted output
File positioning
Error handling
Operations on files
remove
 
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]