OSDN Git Service

(split) LDP: Update release from the latest PO files
[linuxjm/LDP_man-pages.git] / release / man3 / seekdir.3
index bebaf14..ebe99ff 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%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.
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
 .\"     Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
 .\"     386BSD man pages
 .\" Modified Sat Jul 24 18:25:21 1993 by Rik Faith (faith@cs.unc.edu)
+.\"
 .\"*******************************************************************
 .\"
 .\" This file was generated with po4a. Translate the source file.
 .\"
 .\"*******************************************************************
-.TH SEEKDIR 3 2009\-03\-11 "" "Linux Programmer's Manual"
+.TH SEEKDIR 3 2013\-03\-24 "" "Linux Programmer's Manual"
 .SH 名前
 seekdir \- 次の readdir() 呼び出しのために、ディレクトリストリーム中の位置を 設定する
 .SH 書式
 .nf
 \fB#include <dirent.h>\fP
 .sp
-\fBvoid seekdir(DIR *\fP\fIdirp\fP\fB, long \fP\fIoffset\fP\fB);\fP
+\fBvoid seekdir(DIR *\fP\fIdirp\fP\fB, long \fP\fIloc\fP\fB);\fP
 .fi
 .sp
 .in -4n
@@ -47,18 +50,19 @@ glibc 向けの機能検査マクロの要件 (\fBfeature_test_macros\fP(7)  参
 \fBseekdir\fP(): _BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
 .SH 説明
 \fBseekdir\fP()  関数は、次の \fBreaddir\fP(3)  呼び出しの開始位置である、 ディレクトリストリームの中での位置を設定する。
-\fBseekdir\fP()  は \fBtelldir\fP(3)  によって返される \fIoffset\fP とともに使用されるべきである。
+\fIloc\fP 引き数には、それ以前の \fBtelldir\fP(3) の呼び出しで返された値を渡すべきである。
 .SH 返り値
 \fBseekdir\fP()  関数は、値を返さない。
 .SH 準拠
 4.3BSD, POSIX.1\-2001.
 .SH 注意
-バージョン 2.1.1 以前の glibc では、 \fIoffset\fP 引き数の型は \fIoff_t\fP であった。 POSIX.1\-2001 では
-\fIlong\fP と規定されており、glibc 2.1.2 以降では \fIlong\fP になっている。
+バージョン 2.1.1 以前の glibc では、 \fIloc\fP 引き数の型は \fIoff_t\fP であった。 POSIX.1\-2001 では
+\fIlong\fP と規定されており、glibc 2.1.2 以降では \fIlong\fP
+になっている。この引き数の値に前提を置く際には気を付けないといけない理由については \fBtelldir\fP(3) を参照のこと。
 .SH 関連項目
 \fBlseek\fP(2), \fBclosedir\fP(3), \fBopendir\fP(3), \fBreaddir\fP(3), \fBrewinddir\fP(3),
 \fBscandir\fP(3), \fBtelldir\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。