.\" 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
.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
.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.
.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/.