UNLINK(3F) RISC/os Reference Manual UNLINK(3F)
NAME
unlink - remove a directory entry
SYNOPSIS
integer function unlink (name)
character*(*) name
DESCRIPTION
unlink causes the directory entry specified by pathname name
to be removed. If this was the last link to the file, the
contents of the file are lost. The returned value will be
zero if successful; a system error code otherwise.
FILES
/usr/lib/libU77.a
SEE ALSO
unlink(2), link(3F), perror(3F)
BUGS
Pathnames can be no longer than MAXPATHLEN as defined in
<sys/param.h>.
Printed 11/19/92 Page 1