\fI帯域外 (out\-of\-band)\fP データをサポートするソケット (例えば \fBSOCK_STREAM\fP) で \fI帯域外\fP
データを送る。下位プロトコルも \fI帯域外\fP データをサポートしている必要がある。
.SS sendmsg()
-The definition of the \fImsghdr\fP structure employed by \fBsendmsg\fP() is as
-follows:
+\fBsendmsg\fP() で利用されている \fImsghdr\fP 構造体は以下の通り。
.in +4n
.nf
\fImsg_name\fP field should be set to the size of the address. For a connected
socket, these fields should be specified as NULL and 0, respectively.
-The \fImsg_iov\fP and \fImsg_iovlen\fP fields specify scatter\-gather locations, as
-for \fBwritev\fP(2).
+フィールド \fBmsg_iov\fP と \fImsg_iovlen\fP は scatter\-gather 用の場所を指定する。 \fBwritev\fP(2)
+と同じ。
-\fImsg_control\fP と \fImsg_controllen\fP メンバーを使用して制御情報を送信することができる。
+フィールド \fImsg_control\fP と \fImsg_controllen\fP を使用して制御情報を送信することができる。
カーネルが処理できる制御バッファのソケットあたりの最大長は、 \fI/proc/sys/net/core/optmem_max\fP の値に制限されている。
\fBsocket\fP(7) を参照。
.\" Still to be documented:
.\" Send file descriptors and user credentials using the
.\" msg_control* fields.
-The \fImsg_flags\fP field is ignored.
+フィールド \fImsg_flags\fP は無視される。
.SH 返り値
成功した場合、これらのシステムコールは送信されたバイト数を返す。 エラーの場合、 \-1 を返し、 \fIerrno\fP を適切に設定にする。
.SH エラー