summaryrefslogtreecommitdiff
path: root/usr/src/man/man3socket/connect.3socket
diff options
context:
space:
mode:
authorKeith M Wesolowski <wesolows@foobazco.org>2014-11-19 18:47:18 +0000
committerKeith M Wesolowski <wesolows@foobazco.org>2014-11-19 18:47:18 +0000
commit9df4635546174b6e0dd39adace8563ebd85536e1 (patch)
tree76e4897e087a14909e1231d140e34da36180a28b /usr/src/man/man3socket/connect.3socket
parentd0b6aa18f1151b5678b45ba5235417d2fda31967 (diff)
parent1ed6b69a5ca1ca3ee5e9a4931f74e2237c7e1c9f (diff)
downloadillumos-joyent-9df4635546174b6e0dd39adace8563ebd85536e1.tar.gz
[illumos-gate merge]
commit 1ed6b69a5ca1ca3ee5e9a4931f74e2237c7e1c9f 5316 allow smbadm join to use RPC commit 177d5b5f8c0e969013441207a0a705ae66b08cf7 5331 want sockaddr(3SOCKET) Manifests: usr/src/pkg/manifests/system-library.man3socket.inc
Diffstat (limited to 'usr/src/man/man3socket/connect.3socket')
-rw-r--r--usr/src/man/man3socket/connect.3socket9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr/src/man/man3socket/connect.3socket b/usr/src/man/man3socket/connect.3socket
index d724a0d990..767eb2c79e 100644
--- a/usr/src/man/man3socket/connect.3socket
+++ b/usr/src/man/man3socket/connect.3socket
@@ -21,7 +21,6 @@ connect \- initiate a connection on a socket
.fi
.SH DESCRIPTION
-.sp
.LP
The parameter \fIs\fR is a socket. If it is of type \fBSOCK_DGRAM\fR,
\fBconnect()\fR specifies the peer with which the socket is to be associated.
@@ -37,12 +36,10 @@ Generally, stream sockets can successfully \fBconnect()\fR only once. Datagram
sockets can use \fBconnect()\fR multiple times to change their association.
Datagram sockets can dissolve the association by connecting to a null address.
.SH RETURN VALUES
-.sp
.LP
If the connection or binding succeeds, \fB0\fR is returned. Otherwise,
\fB\(mi1\fR is returned and sets \fBerrno\fR to indicate the error.
.SH ERRORS
-.sp
.LP
The call fails if:
.sp
@@ -288,7 +285,6 @@ type \fIs\fR. For example, \fIs\fR is a \fBSOCK_DGRAM\fR socket, while
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -304,8 +300,7 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBclose\fR(2), \fBaccept\fR(3SOCKET), \fBgetsockname\fR(3SOCKET),
-\fBselect\fR(3C), \fBsocket\fR(3SOCKET), \fBsocket.h\fR(3HEAD),
-\fBattributes\fR(5)
+\fBselect\fR(3C), \fBsocket\fR(3SOCKET), \fBsockaddr\fR(3SOCKET),
+\fBsocket.h\fR(3HEAD), \fBattributes\fR(5)