1UNLINK(3F) UNLINK(3F)
2
3
4
6 unlink - remove a directory entry
7
9 integer function unlink (name)
10 character*(*) name
11
13 Unlink causes the directory entry specified by pathname name to be
14 removed. If this was the last link to the file, the contents of the
15 file are lost. The returned value will be zero if successful; a system
16 error code otherwise.
17
19 /usr/lib/libU77.a
20
22 unlink(2), link(3F), filsys(5), perror(3F)
23
25 Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.
26
27
28
294.2 Berkeley Distribution May 15, 1985 UNLINK(3F)