X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..4bd07ac2140668789aa3ee8ec4dde4a3e0a3bba5:/bsd/man/man2/bind.2?ds=sidebyside diff --git a/bsd/man/man2/bind.2 b/bsd/man/man2/bind.2 index 694ad472e..8374320da 100644 --- a/bsd/man/man2/bind.2 +++ b/bsd/man/man2/bind.2 @@ -33,7 +33,7 @@ .\" .\" @(#)bind.2 8.1 (Berkeley) 6/4/93 .\" -.Dd June 4, 1993 +.Dd March 18, 2015 .Dt BIND 2 .Os BSD 4.2 .Sh NAME @@ -48,14 +48,14 @@ .Fa "socklen_t address_len" .Fc .Sh DESCRIPTION -.Fn Bind +.Fn bind assigns a name to an unnamed socket. When a socket is created with .Xr socket 2 it exists in a name space (address family) but has no name assigned. -.Fn Bind +.Fn bind requests that .Fa address be assigned to the socket. @@ -131,6 +131,11 @@ The following errors are specific to binding names in the UNIX domain. A component of the path prefix does not allow searching or the node's parent directory denies write permission. .\" ========== +.It Bq Er EEXIST +A file already exists at the pathname. +.Xr unlink 2 +it first. +.\" ========== .It Bq Er EIO An I/O error occurred while making the directory entry or allocating the inode. @@ -167,6 +172,7 @@ The include file is necessary. .Sh SEE ALSO .Xr connect 2 , +.Xr connectx 2 , .Xr getsockname 2 , .Xr listen 2 , .Xr socket 2 ,