X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;ds=sidebyside;f=original%2Fman3%2Fremove.3;h=9d03d29d87c7449036b23fd4240dd6d813cf5db4;hb=4ea6bb24817f6f049d6bbc90ecd77a869876f9b0;hp=f6955e3b2853dcbaa91bbecf54c9772d1c0e9c3d;hpb=504d22d4a96ccb4837812eca7e370714a5ed57f3;p=linuxjm%2FLDP_man-pages.git diff --git a/original/man3/remove.3 b/original/man3/remove.3 index f6955e3b..9d03d29d 100644 --- a/original/man3/remove.3 +++ b/original/man3/remove.3 @@ -28,7 +28,7 @@ .\" the source, must acknowledge the copyright and authors of this work. .\" %%%LICENSE_END .\" -.TH REMOVE 3 2008-12-03 "GNU" "Linux Programmer's Manual" +.TH REMOVE 3 2014-08-19 "GNU" "Linux Programmer's Manual" .SH NAME remove \- remove a file or directory .SH SYNOPSIS @@ -37,7 +37,7 @@ remove \- remove a file or directory .BI "int remove(const char *" pathname ); .SH DESCRIPTION .BR remove () -deletes a name from the file system. +deletes a name from the filesystem. It calls .BR unlink (2) for files, and @@ -67,14 +67,19 @@ The errors that occur are those for .BR unlink (2) and .BR rmdir (2). +.SH ATTRIBUTES +.SS Multithreading (see pthreads(7)) +The +.BR remove () +function is thread-safe. .SH CONFORMING TO C89, C99, 4.3BSD, POSIX.1-2001. -.SH NOTES -Under libc4 and libc5, -.BR remove () -was an alias for -.BR unlink (2) -(and hence would not remove directories). +.\" .SH NOTES +.\" Under libc4 and libc5, +.\" .BR remove () +.\" was an alias for +.\" .BR unlink (2) +.\" (and hence would not remove directories). .SH BUGS Infelicities in the protocol underlying NFS can cause the unexpected disappearance of files which are still being used. @@ -89,3 +94,12 @@ disappearance of files which are still being used. .BR unlink (2), .BR mkfifo (3), .BR symlink (7) +.SH COLOPHON +This page is part of release 3.79 of the Linux +.I man-pages +project. +A description of the project, +information about reporting bugs, +and the latest version of this page, +can be found at +\%http://www.kernel.org/doc/man\-pages/.