|
|
DataMuseum.dkPresents historical artifacts from the history of: ICL Comet 32 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about ICL Comet 32 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 946 (0x3b2)
Types: TextFile
Notes: UNIX file
Names: »unlink.2«
└─⟦26887b7e0⟧ Bits:30009717 Comet 32 harddisk image
└─⟦28c352965⟧ »/a« UNIX Filesystem
└─⟦this⟧ »usr/man/man2/unlink.2«
.ig @(#)unlink.2 2.1 7/1/84 @(#)Copyright (C) 1983 by National Semiconductor Corp. .. .TH UNLINK 2 .SH NAME unlink \- remove directory entry .SH SYNOPSIS .nf .B unlink(name) .B char *name; .fi .SH DESCRIPTION .I Name points to a null-terminated string. .I Unlink removes the entry for the file pointed to by .I name from its directory. If this entry was the last link to the file, the contents of the file are freed and the file is destroyed. If, however, the file was open in any process, the actual destruction is delayed until it is closed, even though the directory entry has disappeared. .SH "SEE ALSO" rm(1), link(2) .SH DIAGNOSTICS Zero is normally returned; \-1 indicates that the file does not exist, that its directory cannot be written, or that the file contains pure procedure text that is currently in use. Write permission is not required on the file itself. It is also illegal to unlink a directory (except for the super-user).