Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/bind.2
| Show All 25 Lines | |||||
| .\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
| .\" | .\" | ||||
| .Dd March 30, 2020 | .Dd March 30, 2020 | ||||
| .Dt BIND 2 | .Dt BIND 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm bind | .Nm bind | ||||
| .Nd assign a local protocol address to a socket | .Nd assign a local protocol address to a socket | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/socket.h | .In sys/socket.h | ||||
| .Ft int | .Ft int | ||||
| .Fn bind "int s" "const struct sockaddr *addr" "socklen_t addrlen" | .Fn bind "int s" "const struct sockaddr *addr" "socklen_t addrlen" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| The | The | ||||
| .Fn bind | .Fn bind | ||||
| system call | system call | ||||
| assigns the local protocol address to a socket. | assigns the local protocol address to a socket. | ||||
| ▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines | |||||