OSDN Git Service

(split) LDP: Update draft pages
[linuxjm/LDP_man-pages.git] / draft / man2 / recv.2
index b85ff78..2d1f131 100644 (file)
@@ -243,9 +243,8 @@ struct cmsghdr {
 \fBMSG_ERRQUEUE\fP
 データは受信しなかったが ソケットのエラー・キューから拡張エラーを受信したことを示す。
 .SH 返り値
-These calls return the number of bytes received, or \-1 if an error
-occurred.  In the event of an error, \fIerrno\fP is set to indicate the error.
-The return value will be 0 when the peer has performed an orderly shutdown.
+これらのコールは受信したバイト数を返す。 エラーの場合は \-1 を返し、 \fIerrno\fP にエラーを示す値を設定する。
+接続先が正しくシャットダウンを実行した場合は、返り値は 0 となる。
 .SH エラー
 これらはソケット層で発生する一般的なエラーである。 他のエラーが下層のプロトコル・モジュールで生成され、 返されるかもしれない。
 それらのマニュアルを参照すること。