Changeset View
Changeset View
Standalone View
Standalone View
lib/libsys/eventfd.2
| Show All 23 Lines | |||||
| .\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
| .\" | .\" | ||||
| .Dd October 8, 2020 | .Dd October 8, 2020 | ||||
| .Dt EVENTFD 2 | .Dt EVENTFD 2 | ||||
| .Os | .Os | ||||
| .Sh NAME | .Sh NAME | ||||
| .Nm eventfd | .Nm eventfd | ||||
| .Nd create a file descriptor for event notification | .Nd create a file descriptor for event notification | ||||
| .Sh LIBRARY | |||||
| .Lb libc | |||||
| .Sh SYNOPSIS | .Sh SYNOPSIS | ||||
| .Lb libc | |||||
| .In sys/eventfd.h | .In sys/eventfd.h | ||||
| .Ft int | .Ft int | ||||
| .Fn eventfd "unsigned int initval" "int flags" | .Fn eventfd "unsigned int initval" "int flags" | ||||
| .Ft int | .Ft int | ||||
| .Fn eventfd_read "int fd" "eventfd_t *value" | .Fn eventfd_read "int fd" "eventfd_t *value" | ||||
| .Ft int | .Ft int | ||||
| .Fn eventfd_write "int fd" "eventfd_t value" | .Fn eventfd_write "int fd" "eventfd_t value" | ||||
| .Sh DESCRIPTION | .Sh DESCRIPTION | ||||
| ▲ Show 20 Lines • Show All 164 Lines • Show Last 20 Lines | |||||