Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/accept.2
| Show All 26 Lines | |||||
| .\" | .\" | ||||
| .Dd May 17, 2025 | .Dd May 17, 2025 | ||||
| .Dt ACCEPT 2 | .Dt ACCEPT 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm accept , | .Nm accept , | ||||
| .Nm accept4 | .Nm accept4 | ||||
| .Nd accept a connection on a socket | .Nd accept a connection on a socket | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/types.h | .In sys/types.h | ||||
| .In sys/socket.h | .In sys/socket.h | ||||
| .Ft int | .Ft int | ||||
| .Fn accept "int s" "struct sockaddr * restrict addr" "socklen_t * restrict addrlen" | .Fn accept "int s" "struct sockaddr * restrict addr" "socklen_t * restrict addrlen" | ||||
| .Ft int | .Ft int | ||||
| .Fn accept4 "int s" "struct sockaddr * restrict addr" "socklen_t * restrict addrlen" "int flags" | .Fn accept4 "int s" "struct sockaddr * restrict addr" "socklen_t * restrict addrlen" "int flags" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| The argument | The argument | ||||
| ▲ Show 20 Lines • Show All 203 Lines • Show Last 20 Lines | |||||