OSDN Git Service

Retire LDP man-pages repository
[linuxjm/LDP_man-pages.git] / release / man3 / scandirat.3
diff --git a/release/man3/scandirat.3 b/release/man3/scandirat.3
deleted file mode 100644 (file)
index e45a723..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-.\" Copyright (c) 2012, Mark R. Bannister <cambridge@users.sourceforge.net>
-.\"        based on text in mkfifoat.3 Copyright (c) 2006, Michael Kerrisk
-.\"
-.\" %%%LICENSE_START(GPLv2+_DOC_FULL)
-.\" This is free documentation; you can redistribute it and/or
-.\" modify it under the terms of the GNU General Public License as
-.\" published by the Free Software Foundation; either version 2 of
-.\" the License, or (at your option) any later version.
-.\"
-.\" The GNU General Public License's references to "object code"
-.\" and "executables" are to be interpreted as the output of any
-.\" document formatting or typesetting system, including
-.\" intermediate and printed output.
-.\"
-.\" This manual is distributed in the hope that it will be useful,
-.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
-.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-.\" GNU General Public License for more details.
-.\"
-.\" You should have received a copy of the GNU General Public
-.\" License along with this manual; if not, see
-.\" <http://www.gnu.org/licenses/>.
-.\" %%%LICENSE_END
-.\"
-.\"*******************************************************************
-.\"
-.\" This file was generated with po4a. Translate the source file.
-.\"
-.\"*******************************************************************
-.\"
-.\" Japanese Version Copyright (c) 2012  Akihiro MOTOKI
-.\"         all rights reserved.
-.\" Translated 2012-04-30, Akihiro MOTOKI <amotoki@gmail.com>
-.\"
-.TH SCANDIRAT 3 2012\-03\-17 Linux "Linux Programmer's Manual"
-.SH 名前
-scandirat \- ディレクトリのファイルディスクリプタからの相対パスで指定されたディレクトリを走査する
-.SH 書式
-.nf
-\fB#define _GNU_SOURCE\fP         /* feature_test_macros(7) 参照 */
-
-\fB#include <fcntl.h>\fP          /* AT_* 定数の定義 */
-\fB#include <dirent.h>\fP
-.sp
-.fi
-\fBint scandirat(int \fP\fIdirfd\fP\fB, const char *\fP\fIdirp\fP\fB,\fP \fBstruct dirent
-***\fP\fInamelist\fP\fB,\fP
-.nf
-.RS
-\fBint (*\fP\fIfilter\fP\fB)(const struct dirent *),\fP
-\fBint (*\fP\fIcompar\fP\fB)(const struct dirent **, const struct dirent **));\fP
-.RE
-.fi
-.SH 説明
-\fBscandirat\fP() システムコールは \fBscandir\fP() と全く同様の動作をする。
-差分についてこのマニュアルページで説明する。
-
-\fIdirp\fP で指定されたパス名が相対パスの場合、ファイルディスクリプタ \fIdirfd\fP
-が参照するディレクトリからの相対パスと解釈される
-(これに対して、\fBscandir\fP(3) の場合は、相対パス名は、呼び出したプロセスの
-カレントワーキングディレクトリからの相対パスと解釈される)。
-
-\fIdirp\fP が相対パスで \fIdirfd\fP が特別な値 \fBAT_FDCWD\fP の場合、
-\fIdirp\fP は (\fBscandir\fP(3) と同様に) 呼び出したプロセスのカレントワーキング
-ディレクトリからの相対パスと解釈される。
-
-\fIdirp\fP が絶対パスの場合、\fIdirfd\fP は無視される。
-.SH 返り値
-成功した場合は、 \fBscandirat\fP() は選択されたディレクトリエントリ数を返す。
-エラーの場合、 \-1 が返され、 \fIerrno\fP にエラーを示す値が設定される。
-.SH エラー
-\fBscandir\fP(3) で発生するのと同じエラーが \fBscandirat\fP() でも発生する。
-\fBscandirat\fP() では追加で以下のエラーも発生する:
-.TP 
-\fBEBADF\fP
-\fIdirfd\fP が有効なファイルディスクリプタではない。
-.TP 
-\fBENOTDIR\fP
-\fIdirp\fP が相対パスで、\fIdirfd\fP がディレクトリ以外のファイルを参照している
-ファイルディスクリプタである。
-.SH バージョン
-\fBscandirat\fP()  は glibc バージョン 2.15 で追加された。
-.SH 準拠
-この関数は GNU による拡張である。
-.SH 注意
-\fBscandirat\fP() が必要な理由については \fBopenat\fP(2) を参照すること。
-.SH 関連項目
-\fBopenat\fP(2), \fBscandir\fP(3), \fBpath_resolution\fP(7)
-.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.54 の一部
-である。プロジェクトの説明とバグ報告に関する情報は
-http://www.kernel.org/doc/man\-pages/ に書かれている。