6188 add support for eventfd
[unleashed.git] / usr / src / man / man5 / eventfd.5
blobbcf9f58347510800dbcc491b736d04431d1b21b1
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
24 is a Linux-borne facility for sending and receiving user
25 events 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
27 small and straightforward and this implementation is entirely compatible
28 with its Linux antecedent; see
29 .Xr eventfd 3C
30 for details.
31 .Sh SEE ALSO
32 .Xr eventfd 3C