diff options
author | Robert Mustacchi <rm@joyent.com> | 2014-11-16 13:51:26 -0800 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2014-11-17 22:09:25 -0800 |
commit | 177d5b5f8c0e969013441207a0a705ae66b08cf7 (patch) | |
tree | 0648d6d10ceab266a3acb20e2904e89eae510c65 /usr/src/man/man3socket/bind.3socket | |
parent | b998737654179ec0e068e04f6fda6e76777171c9 (diff) | |
download | illumos-gate-177d5b5f8c0e969013441207a0a705ae66b08cf7.tar.gz |
5331 want sockaddr(3SOCKET)
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Dan McDonald <danmcd@omniti.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/man/man3socket/bind.3socket')
-rw-r--r-- | usr/src/man/man3socket/bind.3socket | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/usr/src/man/man3socket/bind.3socket b/usr/src/man/man3socket/bind.3socket index 723926dec4..8c0f1cdfd7 100644 --- a/usr/src/man/man3socket/bind.3socket +++ b/usr/src/man/man3socket/bind.3socket @@ -20,19 +20,16 @@ bind \- bind a name to a socket .fi .SH DESCRIPTION -.sp .LP The \fBbind()\fR function assigns a name to an unnamed socket. When a socket is created with \fBsocket\fR(3SOCKET), it exists in a name space (address family) but has no name assigned. The \fBbind()\fR function requests that the name pointed to by \fIname\fR be assigned to the socket. .SH RETURN VALUES -.sp .LP Upon successful completion \fB0\fR is returned. Otherwise, \fB\(mi1\fR is returned and \fBerrno\fR is set to indicate the error. .SH ERRORS -.sp .LP The \fBbind()\fR function will fail if: .sp @@ -174,7 +171,6 @@ The inode would reside on a read-only file system. .RE .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -190,12 +186,10 @@ MT-Level Safe .TE .SH SEE ALSO -.sp .LP -\fBunlink\fR(2), \fBsocket\fR(3SOCKET), \fBattributes\fR(5), -\fBprivileges\fR(5), \fBsocket.h\fR(3HEAD) +\fBunlink\fR(2), \fBsocket\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), +\fBattributes\fR(5), \fBprivileges\fR(5), \fBsocket.h\fR(3HEAD) .SH NOTES -.sp .LP Binding a name in the UNIX domain creates a socket in the file system that must be deleted by the caller when it is no longer needed by using \fBunlink\fR(2). |