OSDN Git Service

Update README
[linuxjm/LDP_man-pages.git] / original / man2 / rmdir.2
index 8455d5c..1cb3482 100644 (file)
@@ -1,8 +1,7 @@
-.\" Hey Emacs! This file is -*- nroff -*- source.
-.\"
 .\" This manpage is Copyright (C) 1992 Drew Eckhardt;
-.\"                               1993 Michael Haardt, Ian Jackson.
+.\"             and Copyright (C) 1993 Michael Haardt, Ian Jackson.
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -22,6 +21,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" Modified 1993-07-24 by Rik Faith <faith@cs.unc.edu>
 .\" Modified 1997-01-31 by Eric S. Raymond <esr@thyrsus.com>
@@ -37,7 +37,7 @@ rmdir \- delete a directory
 .SH DESCRIPTION
 .BR rmdir ()
 deletes a directory, which must be empty.
-.SH "RETURN VALUE"
+.SH RETURN VALUE
 On success, zero is returned.
 On error, \-1 is returned, and
 .I errno
@@ -117,19 +117,19 @@ and the process is not privileged (Linux: does not have the
 capability).
 .TP
 .B EPERM
-The file system containing
+The filesystem containing
 .I pathname
 does not support the removal of directories.
 .TP
 .B EROFS
 .I pathname
-refers to a directory on a read-only file system.
-.SH "CONFORMING TO"
+refers to a directory on a read-only filesystem.
+.SH CONFORMING TO
 SVr4, 4.3BSD, POSIX.1-2001.
 .SH BUGS
 Infelicities in the protocol underlying NFS can cause the unexpected
 disappearance of directories which are still being used.
-.SH "SEE ALSO"
+.SH SEE ALSO
 .BR rm (1),
 .BR rmdir (1),
 .BR chdir (2),
@@ -138,3 +138,12 @@ disappearance of directories which are still being used.
 .BR rename (2),
 .BR unlink (2),
 .BR unlinkat (2)
+.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/.