mirror of https://github.com/mkerrisk/man-pages
remove.3: Minor rewordings
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0c637bbd95
commit
46c0fadf3a
|
@ -28,9 +28,9 @@
|
|||
.\" Edited into remove.3 shape by:
|
||||
.\" Graeme W. Wilford (G.Wilford@ee.surrey.ac.uk) on 13th July 1994
|
||||
.\"
|
||||
.TH REMOVE 3 1994-07-13 "GNU" "Linux Programmer's Manual"
|
||||
.TH REMOVE 3 2008-12-03 "GNU" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
remove \- delete a name and possibly the file it refers to
|
||||
remove \- remove a file or directory
|
||||
.SH SYNOPSIS
|
||||
.B #include <stdio.h>
|
||||
.sp
|
||||
|
@ -45,18 +45,18 @@ for files, and
|
|||
for directories.
|
||||
|
||||
If the removed 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
|
||||
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
|
||||
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
|
||||
removed but processes which have the object open may continue to use
|
||||
it.
|
||||
If the name referred to a socket, FIFO, or device, the name is removed,
|
||||
but processes which have the object open may continue to use it.
|
||||
.SH "RETURN VALUE"
|
||||
On success, zero is returned.
|
||||
On error, \-1 is returned, and
|
||||
|
|
Loading…
Reference in New Issue