timer_getoverrun(3)timer_getoverrun(3)NAMEtimer_getoverrun - Obtains the overrun count for a specified timer
SYNOPSIS
include <time.h>
int timer_getoverrun ( timer_t timerid );
LIBRARY
Realtime Library (librt.so, librt.a)
PARAMETERS
The timer for which to return the overrun count.
DESCRIPTION
The timer_getoverrun function returns the overrun count for a specified
timer. The count contains the number of extra timer expirations that
occurred between the time the signal was queued and when it was deliv‐
ered, up to but not including the implementation-defined maximum DELAY‐
TIMER_MAX.
RETURN VALUES
Upon successful completion, the timer_getoverrun function returns the
overrun count for the timer specified. If the timer overrun count is
equal to or greater than DELAYTIMER_MAX, the overrun count is set to
DELAYTIMER_MAX. If the function fails, it returns -1 and sets errno to
indicate the type of error that occurred.
ERRORS
The timer_getoverrun function fails under the following condition: The
specified clock ID is not defined.
SEE ALSO
Functions: clock_getres(3), clock_gettime(3), clock_settime(3),
timer_delete(3), timer_gettime(3), timer_settime(3)
Guide to Realtime Programming
timer_getoverrun(3)