bind.2 (108028) | bind.2 (108087) |
---|---|
1.\" Copyright (c) 1983, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)bind.2 8.1 (Berkeley) 6/4/93 | 1.\" Copyright (c) 1983, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 16 unchanged lines hidden (view full) --- 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)bind.2 8.1 (Berkeley) 6/4/93 |
33.\" $FreeBSD: head/lib/libc/sys/bind.2 108028 2002-12-18 09:22:32Z ru $ | 33.\" $FreeBSD: head/lib/libc/sys/bind.2 108087 2002-12-19 09:40:28Z ru $ |
34.\" 35.Dd June 4, 1993 36.Dt BIND 2 37.Os 38.Sh NAME 39.Nm bind 40.Nd assign a local protocol address to a socket 41.Sh LIBRARY --- 35 unchanged lines hidden (view full) --- 77The 78.Fn bind 79system call will fail if: 80.Bl -tag -width Er 81.It Bq Er EAGAIN 82Kernel resources to complete the request are 83temporarily unavailable. 84.It Bq Er EBADF | 34.\" 35.Dd June 4, 1993 36.Dt BIND 2 37.Os 38.Sh NAME 39.Nm bind 40.Nd assign a local protocol address to a socket 41.Sh LIBRARY --- 35 unchanged lines hidden (view full) --- 77The 78.Fn bind 79system call will fail if: 80.Bl -tag -width Er 81.It Bq Er EAGAIN 82Kernel resources to complete the request are 83temporarily unavailable. 84.It Bq Er EBADF |
85.Fa S | 85The 86.Fa s 87argument |
86is not a valid descriptor. 87.It Bq Er ENOTSOCK | 88is not a valid descriptor. 89.It Bq Er ENOTSOCK |
88.Fa S | 90The 91.Fa s 92argument |
89is not a socket. 90.It Bq Er EADDRNOTAVAIL 91The specified address is not available from the local machine. 92.It Bq Er EADDRINUSE 93The specified address is already in use. 94.It Bq Er EACCES 95The requested address is protected, and the current user 96has inadequate permission to access it. 97.It Bq Er EFAULT 98The 99.Fa addr | 93is not a socket. 94.It Bq Er EADDRNOTAVAIL 95The specified address is not available from the local machine. 96.It Bq Er EADDRINUSE 97The specified address is already in use. 98.It Bq Er EACCES 99The requested address is protected, and the current user 100has inadequate permission to access it. 101.It Bq Er EFAULT 102The 103.Fa addr |
100parameter is not in a valid part of the user | 104argument is not in a valid part of the user |
101address space. 102.El 103.Pp 104The following errors are specific to binding addresses in the UNIX domain. 105.Bl -tag -width EADDRNOTAVA 106.It Bq Er ENOTDIR 107A component of the path prefix is not a directory. 108.It Bq Er ENAMETOOLONG --- 23 unchanged lines hidden --- | 105address space. 106.El 107.Pp 108The following errors are specific to binding addresses in the UNIX domain. 109.Bl -tag -width EADDRNOTAVA 110.It Bq Er ENOTDIR 111A component of the path prefix is not a directory. 112.It Bq Er ENAMETOOLONG --- 23 unchanged lines hidden --- |