unlink(3f)

Name
unlink - removes a directory entry

Syntax
integer unlink, err
character*len name
external unlink
err = unlink ( name )

Description
The unlink function causes the directory entry specified by pathname name to be removed. If this is the last link to the file, the contents of the file are lost.

Restrictions
Pathnames cannot be longer than MAXPATHLEN (as defined in sys/param.h ).

Return Values
If the function is successful, a zero is returned; otherwise, an error code is returned.

Files
libU77.a

See Also
unlink(2), link(3f)