.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
-.TH GETLINE 3 2010\-06\-12 GNU "Linux Programmer's Manual"
+.TH GETLINE 3 2013\-04\-19 GNU "Linux Programmer's Manual"
.SH 名前
getline, getdelim \- 区切り文字までの文字列入力を読み込む
.SH 書式
に指定することができる。 \fBgetline\fP() と同様に、ファイル終端に達するまでに入力行に区切り文字が見付からない場合は、
区切り文字をバッファに追加しない。
.SH 返り値
-成功した場合、 \fBgetline\fP() と \fBgetdelim\fP() は読み込んだ文字数を返す。 文字数には区切り文字は含まれるが、終端に使う
-NULL バイトは含まれない。 この値によって、読み込んだ行に含まれる NULL バイトを操作することができる。
+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.
-どちらの関数も、行の読み込みに失敗した場合には \-1 を返す (ファイルの終端に達した場合にも \-1 を返す)。
+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.
.SH エラー
.TP
\fBEINVAL\fP
.SH 関連項目
\fBread\fP(2), \fBfgets\fP(3), \fBfopen\fP(3), \fBfread\fP(3), \fBgets\fP(3), \fBscanf\fP(3)
.SH この文書について
-この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.52 の一部
である。プロジェクトの説明とバグ報告に関する情報は
http://www.kernel.org/doc/man\-pages/ に書かれている。