OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man3 / getline.3
index 96c3a55..bb39e0e 100644 (file)
@@ -74,14 +74,11 @@ _GNU_SOURCE
 に指定することができる。 \fBgetline\fP()  と同様に、ファイル終端に達するまでに入力行に区切り文字が見付からない場合は、
 区切り文字をバッファに追加しない。
 .SH 返り値
-On success, \fBgetline\fP()  and \fBgetdelim\fP()  return the number of characters
-read, including the delimiter character, but not including the terminating
-null byte (\(aq\e0\(aq).  This value can be used to handle embedded null
-bytes in the line read.
+成功した場合、 \fBgetline\fP()  と \fBgetdelim\fP()  は読み込んだ文字数を返す。 文字数には区切り文字は含まれるが、終端に使う
+NULL バイト (\(aq\e0\(aq) は含まれない。 この値によって、読み込んだ行に含まれる NULL バイトを操作することができる。
 
-Both functions return \-1 on failure to read a line (including end\-of\-file
-condition).  In the event of an error, \fIerrno\fP is set to indicate the
-cause.
+どちらの関数も、行の読み込みに失敗した場合には \-1 を返す (ファイルの終端に達した場合にも \-1 を返す)。 エラーが発生した場合には、
+\fIerrno\fP にエラーの原因を示す値が設定される。
 .SH エラー
 .TP 
 \fBEINVAL\fP