OSDN Git Service

(split) LDP: Update draft pages
[linuxjm/LDP_man-pages.git] / draft / man2 / getpeername.2
index 7ecb8a3..d4931a2 100644 (file)
@@ -84,9 +84,9 @@ getpeername \- 接続している相手ソケットの名前を取得する
 .SH 準拠
 SVr4, 4.4BSD (\fBgetpeername\fP()  関数は 4.2BSD で登場した), POSIX.1\-2001.
 .SH 注意
-The third argument of \fBgetpeername\fP()  is in reality an \fIint\ *\fP (and this
-is what 4.x BSD and libc4 and libc5 have).  Some POSIX confusion resulted in
-the present \fIsocklen_t\fP, also used by glibc.  See also \fBaccept\fP(2).
+\fBgetpeername\fP()  の三番目の引き数は実際には \fI`int\ *'\fP である (4.x BSD, libc4, libc5 では
+このようになっている)。 POSIX では紆余曲折を経て現在の \fIsocklen_t\fP になっており、 glibc でも \fIsocklen_t\fP
+を使っている。 \fBaccept\fP(2)  も参照のこと。
 
 ストリームソケットでは、 いったん \fBconnect\fP(2) が実行されると、 どのソケットも \fBgetpeername\fP()
 を使って相手ソケットのアドレスを取得できる。 一方、データグラムソケットはコネクションレスである (接続がない)。 データグラムソケットに対する