INtime SDK Help
unlink, remove

unlink and remove a file; remove is the ANSI name for unlink.

#include <io.h>

int unlink (const char *filename);


/* OR */


#include <stdio.h>

int remove (const char *filename);

Parameters

filename
Name of file to delete.

Return Values

0 (zero).
Success.
-1. The function sets errno to one of these values:
EACCES Pathname specifies a read-only file.
ENOENT File or pathname not found, or pathname specifies a directory.
Failure.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/io.h
  or
intime/rt/include/stdio.h
io.h
  or
stdio.h
clib.lib

More info.

See Also

close