OSDN Git Service

(split) LDP v3.24 -> v3.29 の定型的な変更内容を反映。
[linuxjm/LDP_man-pages.git] / draft / man2 / lseek.2
index 8dc131d..96d81cb 100644 (file)
@@ -49,7 +49,7 @@
 .\"
 .\"WORD:       end-of-file             ¥Õ¥¡¥¤¥ë¤Î½ªÃ¼(end-of-file)
 .\"
-.TH LSEEK 2 2001-09-24 "Linux" "Linux Programmer's Manual"
+.TH LSEEK 2 2010-09-11 "Linux" "Linux Programmer's Manual"
 .SH Ì¾Á°
 lseek \- ¥Õ¥¡¥¤¥ë¤ÎÆɤ߽ñ¤­¥ª¥Õ¥»¥Ã¥È¤Î°ÌÃÖ¤òÊѤ¨¤ë
 .SH ½ñ¼°
@@ -122,13 +122,13 @@ NULL 
 .\"O .BR lseek ()
 .\"O returns the resulting offset location as measured in bytes from the
 .\"O beginning of the file.
-.\"O Otherwise, a value of \fI(off_t)\ \-1\fP is returned and
+.\"O On error, the value \fI(off_t)\ \-1\fP is returned and
 .\"O .I errno
 .\"O is set to indicate the error.
 À®¸ù¤·¤¿¾ì¹ç¡¢
 .BR lseek ()
 ¤Ï·ë²Ì¤Î¥Õ¥¡¥¤¥ë°ÌÃÖ¤ò¥Õ¥¡¥¤¥ë¤ÎÀèƬ¤«¤é¤Î¥Ð¥¤¥È¿ô¤ÇÊÖ¤¹¡£
-¥¨¥é¡¼¤Î¾ì¹ç¡¢ÃͤȤ·¤Æ \fI(off_t)\ \-1\fP ¤òÊÖ¤·¡¢
+¥¨¥é¡¼¤Î¾ì¹ç¡¢ÃÍ \fI(off_t)\ \-1\fP ¤¬ÊÖ¤µ¤ì¡¢
 .I errno
 ¤Ë¥¨¥é¡¼¤¬»Ø¼¨¤µ¤ì¤ë¡£
 .\"O .SH ERRORS
@@ -221,10 +221,11 @@ L_SET     SEEK_SET
 L_INCR SEEK_CUR
 L_XTND SEEK_END
 .TE
-.PP
-.\"O SVr1-3 returns \fIlong\fP instead of \fIoff_t\fP, BSD returns \fIint\fP.
-ÊÖ¤êÃͤη¿¤Ï¡¢SVr1-3 ¤Ç¤Ï \fIoff_t\fP ¤Ç¤Ï¤Ê¤¯ \fIlong\fP ¤Ç¤¢¤ê¡¢
-BSD ¤Ç¤Ï \fIint\fP ¤Ç¤¢¤ë¡£
+.\" .PP
+.\" .\"O SVr1-3 returns \fIlong\fP instead of \fIoff_t\fP,
+.\" .\"O (ancient) BSD returns \fIint\fP.
+.\" ÊÖ¤êÃͤη¿¤Ï¡¢SVr1-3 ¤Ç¤Ï \fIoff_t\fP ¤Ç¤Ï¤Ê¤¯ \fIlong\fP ¤Ç¤¢¤ê¡¢
+.\" (¸Å¤¤) BSD ¤Ç¤Ï \fIint\fP ¤Ç¤¢¤ë¡£
 .PP
 .\"O Note that file descriptors created by
 .\"O .BR dup (2)