xref: /titanic_51/usr/src/man/man5/eventfd.5 (revision c702eacaf4d917acee909844383924df2accf8f5)
1.\"
2.\" This file and its contents are supplied under the terms of the
3.\" Common Development and Distribution License ("CDDL"), version 1.0.
4.\" You may only use this file in accordance with the terms of version
5.\" 1.0 of the CDDL.
6.\"
7.\" A full copy of the text of the CDDL should have accompanied this
8.\" source.  A copy of the CDDL is also available via the Internet at
9.\" http://www.illumos.org/license/CDDL.
10.\"
11.\"
12.\" Copyright (c) 2014, Joyent, Inc. All Rights Reserved.
13.\"
14.Dd Dec 3, 2014
15.Dt EVENTFD 5
16.Os
17.Sh NAME
18.Nm eventfd
19.Nd Linux-compatible user event notification facility
20.Sh SYNOPSIS
21.In sys/eventfd.h
22.Sh DESCRIPTION
23.Nm
24is a Linux-borne facility for sending and receiving user
25events via a file descriptor.  While the facility itself is somewhat dubious
26(it can be mimicked in an entirely portable way with a pipe), it is
27small and straightforward and this implementation is entirely compatible
28with its Linux antecedent; see
29.Xr eventfd 3C
30for details.
31.Sh SEE ALSO
32.Xr eventfd 3C
33