unlink.2: grfix + wfix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-03-26 05:31:40 +01:00
parent ff68e7e29a
commit dbea37c3fd
1 changed files with 4 additions and 4 deletions

View File

@ -67,16 +67,16 @@ _ATFILE_SOURCE
.BR unlink ()
deletes a name from the filesystem.
If that name was the
last link to a file and no processes have the file open the file is
last link to a file and no processes have the file open, the file is
deleted and the space it was using is made available for reuse.
If the name was the last link to a file but any processes still have
the file open the file will remain in existence until the last file
the file open, the file will remain in existence until the last file
descriptor referring to it is closed.
If the name referred to a symbolic link the link is removed.
If the name referred to a symbolic link, the link is removed.
If the name referred to a socket, fifo or device the name for it is
If the name referred to a socket, FIFO, or device, the name for it is
removed but processes which have the object open may continue to use
it.
.SS unlinkat()