OSDN Git Service

LDP: Update original to LDP v3.79
[linuxjm/LDP_man-pages.git] / original / man3 / remove.3
index f6955e3..9d03d29 100644 (file)
@@ -28,7 +28,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
 .\" 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
 .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 ()
 .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
 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).
 .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 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.
 .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)
 .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/.