OSDN Git Service

(split) DP: release pages (catch up to 3.50).
[linuxjm/LDP_man-pages.git] / release / man3 / fseek.3
index 4e6b444..1e9862d 100644 (file)
@@ -5,6 +5,7 @@
 .\" Chris Torek and the American National Standards Committee X3,
 .\" on Information Processing Systems.
 .\"
 .\" Chris Torek and the American National Standards Committee X3,
 .\" on Information Processing Systems.
 .\"
+.\" %%%LICENSE_START(BSD_4_CLAUSE_UCB)
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
 .\" are met:
 .\" Redistribution and use in source and binary forms, with or without
 .\" modification, are permitted provided that the following conditions
 .\" are met:
@@ -32,6 +33,7 @@
 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
+.\" %%%LICENSE_END
 .\"
 .\"     @(#)fseek.3    6.11 (Berkeley) 6/29/91
 .\"
 .\"
 .\"     @(#)fseek.3    6.11 (Berkeley) 6/29/91
 .\"
@@ -77,11 +79,12 @@ indicator) をセットする。新たな位置 (バイト単位)  は \fIwhence
 ただし \fBrewind\fP()  ではストリームに対するエラー表示子 (error indicator) も同時に クリアされる (
 \fBclearerr\fP(3)  を見よ)。
 .PP
 ただし \fBrewind\fP()  ではストリームに対するエラー表示子 (error indicator) も同時に クリアされる (
 \fBclearerr\fP(3)  を見よ)。
 .PP
-\fBfgetpos\fP()  関数と \fBfsetpos\fP()  関数は、それぞれ \fBftell\fP()  と \fBfseek\fP()  で
-\fIwhence\fP に \fBSEEK_SET\fP を指定した場合と同様の機能を、異なるインターフェースで提供する。 \fBfgetpos\fP()
-はファイルオフセットの現在の値を \fIpos\fP が参照するオブジェクトに保存し、 \fBfsetpos\fP()  はファイルオフセットを \fIpos\fP
-に設定する。 UNIX 以外のシステムにおいては、 \fIfpos_t\fP が構造体などの複雑なオブジェクトになっていて、これらのルーチンがテキス
-トストリームでファイル位置を変更する方法のうち、移植性のある唯一のもの になっている場合もある。
+The \fBfgetpos\fP()  and \fBfsetpos\fP()  functions are alternate interfaces
+equivalent to \fBftell\fP()  and \fBfseek\fP()  (with \fIwhence\fP set to
+\fBSEEK_SET\fP), setting and storing the current value of the file offset into
+or from the object referenced by \fIpos\fP.  On some non\-UNIX systems, an
+\fIfpos_t\fP object may be a complex object and these routines may be the only
+way to portably reposition a text stream.
 .SH 返り値
 \fBrewind\fP()  は返り値を持たない。 \fBfgetpos\fP(), \fBfseek\fP(), \fBfsetpos\fP()  は成功すると 0
 を返す。 \fBftell\fP()  は現在のオフセットを返す。失敗した場合は返り値は \-1 となり、 \fIerrno\fP にエラーを示す値がセットされる。
 .SH 返り値
 \fBrewind\fP()  は返り値を持たない。 \fBfgetpos\fP(), \fBfseek\fP(), \fBfsetpos\fP()  は成功すると 0
 を返す。 \fBftell\fP()  は現在のオフセットを返す。失敗した場合は返り値は \-1 となり、 \fIerrno\fP にエラーを示す値がセットされる。
@@ -102,6 +105,6 @@ C89, C99.
 .SH 関連項目
 \fBlseek\fP(2), \fBfseeko\fP(3)
 .SH この文書について
 .SH 関連項目
 \fBlseek\fP(2), \fBfseeko\fP(3)
 .SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.41 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.50 の一部
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。
 である。プロジェクトの説明とバグ報告に関する情報は
 http://www.kernel.org/doc/man\-pages/ に書かれている。