OSDN Git Service

Retire LDP man-pages repository
[linuxjm/LDP_man-pages.git] / draft / man3 / remove.3
diff --git a/draft/man3/remove.3 b/draft/man3/remove.3
deleted file mode 100644 (file)
index c6e51ac..0000000
+++ /dev/null
@@ -1,87 +0,0 @@
-.\" This file is derived from unlink.2, which has the following copyright:
-.\"
-.\" This manpage is Copyright (C) 1992 Drew Eckhardt;
-.\"             and Copyright (C) 1993 Ian Jackson.
-.\"
-.\" Edited into remove.3 shape by:
-.\" Graeme W. Wilford (G.Wilford@ee.surrey.ac.uk) on 13th July 1994
-.\"
-.\" %%%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
-.\"
-.\"*******************************************************************
-.\"
-.\" This file was generated with po4a. Translate the source file.
-.\"
-.\"*******************************************************************
-.\"
-.\" Japanese Version Copyright (c) 1998 Ueyama Rui
-.\"         all rights reserved.
-.\" Translated Wed Feb 20 15:01:46 JST 1998
-.\"         by Ueyama Rui <rui@linux.or.jp>
-.\" Updated Sat Dec 11 JST 1999 by Kentaro Shirakata <argrath@ub32.org>
-.\" Updated Mon Feb 17 JST 2003 by Kentaro Shirakata <argrath@ub32.org>
-.\"
-.TH REMOVE 3 2014\-08\-19 GNU "Linux Programmer's Manual"
-.SH 名前
-remove \- ファイルやディレクトリを削除する
-.SH 書式
-\fB#include <stdio.h>\fP
-.sp
-\fBint remove(const char *\fP\fIpathname\fP\fB);\fP
-.SH 説明
-\fBremove\fP()  はファイルシステムからファイル名を削除する。 ファイルに対しては \fBunlink\fP(2)  を、ディレクトリに対しては
-\fBrmdir\fP(2)  を呼び出す。
-
-もしその名前が ファイルへの最後のリンクで、かつ、どのプロセスもそのファイルを 開いていないなら、ファイルも削除する。ファイルの占めていた
-領域は他で使うことができるようになる。
-
-名前がファイルへの最後のリンクであっても、どこかのプロセスが そのファイルを開いているなら、ファイルの最後のファイルディスクリプター (file
-descriptor) が閉じられるまでファイルは存在し続ける。
-
-名前が指しているのがシンボリックリンクなら、そのリンクを削除する。
-
-名前が指しているのがソケット、FIFO、デバイスの場合、名前は削除されるが、 そのソケットなどを開いているプロセスはそのまま使い続けることができる。
-.SH 返り値
-成功した場合は 0 が返される。エラーの場合は \-1 が返され、 \fIerrno\fP が適切に設定される。
-.SH エラー
-発生するエラーは \fBunlink\fP(2)  および \fBrmdir\fP(2)  と同じものである。
-.SH 属性
-.SS "マルチスレッディング (pthreads(7) 参照)"
-関数 \fBremove\fP() はスレッドセーフである。
-.SH 準拠
-.\" .SH NOTES
-.\" Under libc4 and libc5,
-.\" .BR remove ()
-.\" was an alias for
-.\" .BR unlink (2)
-.\" (and hence would not remove directories).
-C89, C99, 4.3BSD, POSIX.1\-2001.
-.SH バグ
-NFS プロトコルに内在する問題により、まだ使用中のファイルが想定外に消えてしまうことがありえる。
-.SH 関連項目
-\fBrm\fP(1), \fBunlink\fP(1), \fBlink\fP(2), \fBmknod\fP(2), \fBopen\fP(2), \fBrename\fP(2),
-\fBrmdir\fP(2), \fBunlink\fP(2), \fBmkfifo\fP(3), \fBsymlink\fP(7)
-.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部
-である。プロジェクトの説明とバグ報告に関する情報は
-http://www.kernel.org/doc/man\-pages/ に書かれている。