OSDN Git Service

Retire LDP man-pages repository
[linuxjm/LDP_man-pages.git] / draft / man2 / rmdir.2
diff --git a/draft/man2/rmdir.2 b/draft/man2/rmdir.2
deleted file mode 100644 (file)
index 1c0df00..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-.\" This manpage is Copyright (C) 1992 Drew Eckhardt;
-.\"             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.
-.\"
-.\" Permission is granted to copy and distribute modified versions of this
-.\" manual under the conditions for verbatim copying, provided that the
-.\" entire resulting derived work is distributed under the terms of a
-.\" permission notice identical to this one.
-.\"
-.\" Since the Linux kernel and libraries are constantly changing, this
-.\" manual page may be incorrect or out-of-date.  The author(s) assume no
-.\" responsibility for errors or omissions, or for damages resulting from
-.\" the use of the information contained herein.  The author(s) may not
-.\" have taken the same level of care in the production of this manual,
-.\" which is licensed free of charge, as they might when working
-.\" professionally.
-.\"
-.\" 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>
-.\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
-.\"
-.\"*******************************************************************
-.\"
-.\" This file was generated with po4a. Translate the source file.
-.\"
-.\"*******************************************************************
-.\"
-.\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
-.\"         all rights reserved.
-.\" Translated 1997-12-12, HANATAKA Shinya <hanataka@abyss.rim.or.jp>
-.\" Updated 2003-10-11, Kentaro Shirakata <argrath@ub32.org>
-.\" Updated 2005-02-24, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
-.\" Updated 2006-07-23, Akihiro MOTOKI, LDP v2.36
-.\" Updated 2008-08-06, Akihiro MOTOKI, LDP v3.05
-.\"
-.TH RMDIR 2 2008\-05\-08 Linux "Linux Programmer's Manual"
-.SH 名前
-rmdir \- ディレクトリを削除する
-.SH 書式
-\fB#include <unistd.h>\fP
-.sp
-\fBint rmdir(const char *\fP\fIpathname\fP\fB);\fP
-.SH 説明
-\fBrmdir\fP()  はディレクトリを削除する。削除するディレクトリは空でなければならない。
-.SH 返り値
-成功した場合は 0 が返される。エラーの場合は \-1 が返され、 \fIerrno\fP が適切に設定される。
-.SH エラー
-.TP 
-\fBEACCES\fP
-\fIpathname\fP を含んでいるディレクトリへの書き込みアクセスが プロセスの実効 (effective) UID に対して許可されていないか、
-\fIpathname\fP に含まれているディレクトリのどれかに検索 (実行) 許可がないか、 \fIpathname\fP
-に至るまでのディレクトリのいずれかに対する検索許可がなかった。 (\fBpath_resolution\fP(7)  も参照のこと)
-.TP 
-\fBEBUSY\fP
-\fIpathname\fP がシステムや別のプロセスにより使用中で削除することができない。 Linux では、 \fIpathname\fP
-がマウントポイントとして使用されているか、 呼び出したプロセスのルートディレクトリであることを意味する。
-.TP 
-\fBEFAULT\fP
-\fIpathname\fP がアクセス可能なアドレス空間の外を指している。
-.TP 
-\fBEINVAL\fP
-\fIpathname\fP の最後のディレクトリ部分が \fI.\fP である。
-.TP 
-\fBELOOP\fP
-\fIpathname\fP を解決する際に遭遇したシンボリックリンクが多過ぎる。
-.TP 
-\fBENAMETOOLONG\fP
-\fIpathname\fP が長過ぎる。
-.TP 
-\fBENOENT\fP
-\fIpathname\fP の中のディレクトリ部分が存在しないか、壊れた (dangling)  シンボリックリンク (symbolic link)
-である。
-.TP 
-\fBENOMEM\fP
-十分なカーネルメモリーがない。
-.TP 
-\fBENOTDIR\fP
-\fIpathname\fP か \fIpathname\fP に含まれているディレクトリ部分が、実際には、ディレクトリでない。
-.TP 
-\fBENOTEMPTY\fP
-ディレクトリ \fIpathname\fP に \fI.\fP と \fI..\fP 以外のエントリーがある。または、 \fIpathname\fP を構成する最後の要素が
-\&\fI..\fP である。 POSIX.1\-2001 は、この状況で \fBEEXIST\fP を返すことを認めている。
-.TP 
-\fBEPERM\fP
-\fIpathname\fP を含んでいるディレクトリにスティッキービット(sticky\-bit)  (\fBS_ISVTX\fP)
-が設定されていて、プロセスの実効ユーザーID が削除しようとするファイルの ユーザーID とそのファイルを含むディレクトリのユーザーID
-のどちらとも異なり、 プロセスも権限 (Linux では \fBCAP_FOWNER\fP ケーパビリティ) がない。
-.TP 
-\fBEPERM\fP
-\fIpathname\fP を含んでいるファイルシステムがディレクトリの 削除をサポートしていない。
-.TP 
-\fBEROFS\fP
-\fIpathname\fP が読み込み専用のファイルシステム上のディレクトリを参照している。
-.SH 準拠
-SVr4, 4.3BSD, POSIX.1\-2001.
-.SH バグ
-NFS プロトコルに潜在している欠陥によって、まだ使用中のディレクトリが 突然消滅する現象が引き起こされることがある。
-.SH 関連項目
-\fBrm\fP(1), \fBrmdir\fP(1), \fBchdir\fP(2), \fBchmod\fP(2), \fBmkdir\fP(2), \fBrename\fP(2),
-\fBunlink\fP(2), \fBunlinkat\fP(2)
-.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
-である。プロジェクトの説明とバグ報告に関する情報は
-http://www.kernel.org/doc/man\-pages/ に書かれている。