OSDN Git Service

(split) LDP: draft snapshot generated from latest ja.po files.
[linuxjm/LDP_man-pages.git] / draft / man2 / llseek.2
index 37b9d2d..8886fca 100644 (file)
 .\" Written 10 June 1995 by Andries Brouwer <aeb@cwi.nl>
 .\" Modified Thu Oct 31 15:16:23 1996 by Eric S. Raymond <esr@thyrsus.com>
 .\"
-.\" Japanese Version Copyright (c) 1997 HANATAKA Shinya
-.\"         all rights reserved.
-.\" Translated Sun Feb 23 16:22:27 JST 1997
-.\"         by HANATAKA Shinya <hanataka@abyss.rim.or.jp>
-.\" Updated & Modified Sat Jun  2 18:27:49 JST 2001
-.\"         by Yuichi SATO <ysato@h4.dion.ne.jp>
-.\" Updated & Modified Sat Sep  6 17:05:03 JST 2003
-.\"         by Yuichi SATO <ysato444@yahoo.co.jp>
-.\" Updated & Modified Fri Dec 31 00:50:01 JST 2004 by Yuichi SATO
+.\"*******************************************************************
 .\"
-.\"WORD:       offset                  オフセット
-.\"WORD:       descriptor              ディスクリプター
-.\"WORD:       argument                引き数
-.\"WORD:       open                    オープン
-.\"WORD:       support                 サポート
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH LLSEEK 2 2007-06-01 "Linux" "Linux Programmer's Manual"
-.\"O .SH NAME
+.\"*******************************************************************
+.TH LLSEEK 2 2007\-06\-01 Linux "Linux Programmer's Manual"
 .SH 名前
-.\"O _llseek \- reposition read/write file offset
 _llseek \- ファイルの読み書きオフセットの位置を変える
-.\"O .SH SYNOPSIS
 .SH 書式
 .nf
-.B #include <sys/types.h>
-.B #include <unistd.h>
+\fB#include <sys/types.h>\fP
+\fB#include <unistd.h>\fP
 .sp
-.BI "int _llseek(unsigned int " fd ", unsigned long " offset_high ,
-.BI "            unsigned long " offset_low ", loff_t *" result ,
-.BI "            unsigned int " whence );
+\fBint _llseek(unsigned int \fP\fIfd\fP\fB, unsigned long \fP\fIoffset_high\fP\fB,\fP
+\fB            unsigned long \fP\fIoffset_low\fP\fB, loff_t *\fP\fIresult\fP\fB,\fP
+\fB            unsigned int \fP\fIwhence\fP\fB);\fP
 .fi
-.\"O .SH DESCRIPTION
 .SH 説明
-.\"O The
-.\"O .BR _llseek ()
-.\"O function repositions the offset of the open file associated
-.\"O with the file descriptor
-.\"O .I fd
-.\"O to
-.\"O .I (offset_high<<32) | offset_low
-.\"O bytes relative to the beginning of the file, the current position in the file,
-.\"O or the end of the file, depending on whether
-.\"O .I  whence
-.\"O is
-.\"O .BR SEEK_SET ,
-.\"O .BR SEEK_CUR ,
-.\"O or
-.\"O .BR SEEK_END ,
-.\"O respectively.
-.\"O It returns the resulting file position in the argument
-.\"O .IR result .
-.BR _llseek ()
-関数は、ファイル・ディスクリプター (descriptor)
-.I fd
-に関連づけられたオープンされたファイルのオフセットの位置を、相対的に
-.I (offset_high<<32) | offset_low
-バイトだけ変更する。
-基準となる位置を表す
-.I  whence
-には
-.BR SEEK_SET ,
-.BR SEEK_CUR ,
-.B SEEK_END
-のいずれかを指定し、それぞれ
-ファイルの先頭、ファイルの現在位置、
-ファイルの最後を表す。
-結果のファイル位置を
-.I result
-引き数に返す。
-.\"O .SH "RETURN VALUE"
+\fB_llseek\fP()  関数は、ファイル・ディスクリプター (descriptor)  \fIfd\fP
+に関連づけられたオープンされたファイルのオフセットの位置を、相対的に \fI(offset_high<<32) | offset_low\fP
+バイトだけ変更する。 基準となる位置を表す \fIwhence\fP には \fBSEEK_SET\fP, \fBSEEK_CUR\fP, \fBSEEK_END\fP
+のいずれかを指定し、それぞれ ファイルの先頭、ファイルの現在位置、 ファイルの最後を表す。 結果のファイル位置を \fIresult\fP 引き数に返す。
 .SH 返り値
-.\"O Upon successful completion,
-.\"O .BR _llseek ()
-.\"O returns 0.
-.\"O Otherwise, a value of \-1 is returned and
-.\"O .I errno
-.\"O is set to indicate the error.
-成功した場合は、
-.BR _llseek ()
-は 0 を返す。
-そうでなれば \-1 という値が返り、エラーを示す
-.I errno
-が設定される。
-.\"O .SH ERRORS
+成功した場合は、 \fB_llseek\fP()  は 0 を返す。 そうでなれば \-1 という値が返り、エラーを示す \fIerrno\fP が設定される。
 .SH エラー
-.TP
-.B EBADF
-.\"O .I fd
-.\"O is not an open file descriptor.
-.I fd
-がオープンされたファイル・ディスクリプターでない。
-.TP
-.B EFAULT
-.\"O Problem with copying results to user space.
+.TP 
+\fBEBADF\fP
+\fIfd\fP がオープンされたファイルディスクリプタでない。
+.TP 
+\fBEFAULT\fP
 結果をユーザ空間にコピーするときに問題があった。
-.TP
-.B EINVAL
-.\"O .I whence
-.\"O is invalid.
-.I whence
-が不正である。
-.\"O .SH "CONFORMING TO"
+.TP 
+\fBEINVAL\fP
+\fIwhence\fP が不正である。
 .SH 準拠
-.\"O This function is Linux-specific, and should not be used in programs
-.\"O intended to be portable.
 この関数は Linux 特有であり、移植性の必要なプログラムでは使用してはいけない。
-.\"O .SH NOTES
 .SH 注意
-.\"O Glibc does not provide a wrapper for this system call; call it using
-.\"O .BR syscall (2).
-glibc はこのシステムコールに対するラッパー関数を提供していない。
-.BR syscall (2)
-を使って呼び出すこと。
-.\"O .SH "SEE ALSO"
+glibc はこのシステムコールに対するラッパー関数を提供していない。 \fBsyscall\fP(2)  を使って呼び出すこと。
 .SH 関連項目
-.BR lseek (2),
-.BR lseek64 (3)
+\fBlseek\fP(2), \fBlseek64\fP(3)