|
||
int unlink ( const char *filename )
const char *filename; // name of file on disk
|
|
|
Synopsis |
#include "silver.h"
The unlink 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 |
unlink 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 |
unlink is essentially identical to remove , but remove is Standard C, while unlink is not.
|
|
|
|