Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/connect.2
| Show All 25 Lines | |||||
| .\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
| .\" | .\" | ||||
| .Dd August 18, 2016 | .Dd August 18, 2016 | ||||
| .Dt CONNECT 2 | .Dt CONNECT 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm connect | .Nm connect | ||||
| .Nd initiate a connection on a socket | .Nd initiate a connection on 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 connect "int s" "const struct sockaddr *name" "socklen_t namelen" | .Fn connect "int s" "const struct sockaddr *name" "socklen_t namelen" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| The | The | ||||
| .Fa s | .Fa s | ||||
| argument | argument | ||||
| is a socket. | is a socket. | ||||
| ▲ Show 20 Lines • Show All 138 Lines • Show Last 20 Lines | |||||