X-Git-Url: http://git.osdn.net/view?p=linuxjm%2FLDP_man-pages.git;a=blobdiff_plain;f=release%2Fman3%2Fgetdirentries.3;fp=release%2Fman3%2Fgetdirentries.3;h=0000000000000000000000000000000000000000;hp=782b7b573929c10d1a517149cabe5bbf27040f23;hb=2460a0b8024ceb8570acdbc9208713d79458efcb;hpb=83f9e5d087c3464d5131604d3c9893479e6228eb diff --git a/release/man3/getdirentries.3 b/release/man3/getdirentries.3 deleted file mode 100644 index 782b7b57..00000000 --- a/release/man3/getdirentries.3 +++ /dev/null @@ -1,69 +0,0 @@ -.\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu) -.\" Portions extracted from /usr/include/dirent.h are: -.\" Copyright 1991, 1992 Free Software Foundation -.\" -.\" %%%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 NAKANO Takeo all rights reserved. -.\" Translated Thu Apr 30 1998 by NAKANO Takeo -.\" -.TH GETDIRENTRIES 3 2014\-06\-13 GNU "Linux Programmer's Manual" -.SH 名前 -getdirentries \- ディレクトリのエントリーをファイルシステムに依存しない形式で取得する -.SH 書式 -\fB#include \fP -.sp -\fBssize_t getdirentries(int \fP\fIfd\fP\fB, char *\fP\fIbuf\fP\fB, size_t \fP\fInbytes\fP \fB, -off_t *\fP\fIbasep\fP\fB);\fP -.sp -.in -4n -glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7) 参照): -.in -.sp -\fBgetdirentries\fP(): _BSD_SOURCE || _SVID_SOURCE -.SH 説明 -\fIfd\fP で指定されたディレクトリからエントリーを読み、 \fIbuf\fP に格納する。最大で \fInbytes\fP が読み込まれる。読み込みはオフセット -\fI*basep\fP から開始され、読み込み終了時には \fI*basep\fP は新しい位置に更新される。 -.SH 返り値 -\fBgetdirentries\fP() は読み込んだバイト数を返すか、ディレクトリの最後にきた場合は 0 を返す。 エラーが起こったら \-1 を返し、 -\fIerrno\fP をエラーに対応する値にセットする。 -.SH エラー -詳細は Linux のライブラリソースコードを読んでほしい。 -.SH 属性 -.SS "マルチスレッディング (pthreads(7) 参照)" -\fBgetdirentries\fP() 関数はスレッドセーフである。 -.SH 準拠 -POSIX.1\-2001 にはない。 BSD に存在し、他にもいくつかのシステムにもある。 代わりに \fBopendir\fP(3) と -\fBreaddir\fP(3) を使用すること。 -.SH 関連項目 -\fBlseek\fP(2), \fBopen\fP(2) -.SH この文書について -この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.79 の一部 -である。プロジェクトの説明とバグ報告に関する情報は -http://www.kernel.org/doc/man\-pages/ に書かれている。