|
|
1.1 ! root 1: .pa 1 ! 2: .he 'UNLINK (II)'3/15/72'UNLINK (II)' ! 3: .ti 0 ! 4: NAME unlink -- remove directory entry ! 5: .sp ! 6: .ti 0 ! 7: SYNOPSIS sys unlink; name / unlink = 10. ! 8: .sp ! 9: .ti 0 ! 10: DESCRIPTION Name____ ! 11: points to a null-terminated string. ! 12: Unlink______ ! 13: removes the entry for the file pointed to by name____ ! 14: from its directory. ! 15: If this entry was the last link to the file, ! 16: the contents of the file are freed and the file is destroyed. ! 17: If, however, the file was open in any process, the actual ! 18: destruction is delayed until it is closed, even though ! 19: the directory entry has disappeared. ! 20: .sp ! 21: .ti 0 ! 22: SEE ALSO rm(I), rmdir(I), link(II) ! 23: .sp ! 24: .ti 0 ! 25: DIAGNOSTICS The error bit ! 26: (c-bit) is set to indicate that the file does not ! 27: exist or that its directory cannot be written. ! 28: Write permission is not required on the file itself. ! 29: It is also illegal to unlink a directory ! 30: (except for the super-user). ! 31: .sp ! 32: .ti 0 ! 33: BUGS --
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.