diff options
Diffstat (limited to 'usr/src/man/man3xnet/connect.3xnet')
| -rw-r--r-- | usr/src/man/man3xnet/connect.3xnet | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr/src/man/man3xnet/connect.3xnet b/usr/src/man/man3xnet/connect.3xnet index 50c08bb6c2..14e2ab5494 100644 --- a/usr/src/man/man3xnet/connect.3xnet +++ b/usr/src/man/man3xnet/connect.3xnet @@ -21,7 +21,6 @@ connect \- connect a socket .fi .SH DESCRIPTION -.sp .LP The \fBconnect()\fR function requests a connection to be made on a socket. The function takes the following arguments: @@ -100,18 +99,15 @@ for writing. The socket in use may require the process to have appropriate privileges to use the \fBconnect()\fR function. .SH USAGE -.sp .LP If \fBconnect()\fR fails, the state of the socket is unspecified. Portable applications should close the file descriptor and create a new socket before attempting to reconnect. .SH RETURN VALUES -.sp .LP Upon successful completion, \fBconnect()\fR returns 0. Otherwise, \(mi1 is returned and \fBerrno\fR is set to indicate the error. .SH ERRORS -.sp .LP The \fBconnect()\fR function will fail if: .sp @@ -388,7 +384,6 @@ The socket is listening and can not be connected. .RE .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -406,8 +401,8 @@ MT-Level MT-Safe .TE .SH SEE ALSO -.sp .LP +\fBsockaddr\fR(3SOCKET), \fBclose\fR(2), \fBpoll\fR(2), \fBaccept\fR(3XNET), \fBbind\fR(3XNET), \fBgetsockname\fR(3XNET), \fBselect\fR(3C), \fBsend\fR(3XNET), \fBshutdown\fR(3XNET), \fBsocket\fR(3XNET), \fBattributes\fR(5), |
