diff options
Diffstat (limited to 'usr/src/man/man3socket/getpeername.3socket')
-rw-r--r-- | usr/src/man/man3socket/getpeername.3socket | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/usr/src/man/man3socket/getpeername.3socket b/usr/src/man/man3socket/getpeername.3socket index f8625adbdf..d1a6072637 100644 --- a/usr/src/man/man3socket/getpeername.3socket +++ b/usr/src/man/man3socket/getpeername.3socket @@ -17,7 +17,6 @@ getpeername \- get name of connected peer .fi .SH DESCRIPTION -.sp .LP \fBgetpeername()\fR returns the name of the peer connected to socket \fIs\fR. The \fBint\fR pointed to by the \fInamelen\fR parameter should be initialized @@ -25,12 +24,10 @@ to indicate the amount of space pointed to by \fIname\fR. On return it contains the actual size of the name returned (in bytes), prior to any truncation. The name is truncated if the buffer provided is too small. .SH RETURN VALUES -.sp .LP If successful, \fBgetpeername()\fR returns \fB0\fR; otherwise it returns \fB\(mi1\fR and sets \fBerrno\fR to indicate the error. .SH ERRORS -.sp .LP The call succeeds unless: .sp @@ -80,7 +77,6 @@ The argument \fIs\fR is not a socket. .RE .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -96,7 +92,7 @@ MT-Level Safe .TE .SH SEE ALSO -.sp .LP \fBaccept\fR(3SOCKET), \fBbind\fR(3SOCKET), \fBgetsockname\fR(3SOCKET), +\fBsockaddr\fR(3SOCKET), \fBsocket\fR(3SOCKET), \fBattributes\fR(5), \fBsocket.h\fR(3HEAD) |