TIMERFD(7) Device and Network Interfaces TIMERFD(7)
NAME
timerfd - Linux-compatible timer notification facility
SYNOPSIS
#include <sys/timerfd.h>DESCRIPTION
timerfd is a Linux-borne facility for creating POSIX timers and receiving
their subsequent events via a file descriptor. The facility itself is
arguably unnecessary: portable code can either use the timeout value
present in
poll(2) /
port_get(3C) or -- if this is deemed of unacceptably
poor resolution -- create a POSIX timer via
timer_create(3C) and use the
resulting signal to induce an
EINTR to polling threads. (For code that
need not be portable, the
SIGEV_PORT signal notification allows for
explicit, event-oriented timer notification to be sent to a specified port;
see
signal.h(3HEAD) for details.) This facility therefore exists only to
accommodate Linux-borne applications and binaries; it is compatible with
its Linux antecedent in both binary interface and in semantics.
SEE ALSO
timerfd_create(3C),
timerfd_gettime(3C),
timerfd_settime(3C)OmniOS February 23, 2015 OmniOS