|
||
int remove( char *filename )
char *filename; /* name of file on disk */
|
|
|
Synopsis |
#include "stdio.h"
The remove function deletes the file with name filename .
|
|
Parameters |
filename is a null-terminated string containing the name of the file to be deleted.
|
|
Return Value |
remove returns 0 if successful; otherwise, errno will be set to an a non-zero value indicating the reason for failure, and that value will be returned.
|
|
Comments |
remove is essentially identical to unlink , but remove is Standard C, while unlink is not.
|
|
See Also |
|
|
|
|