TIMER_GETTIME(2) Linux Programmer's Guide TIMER_GETTIME(2)NAMEtimer_gettime - Get the time remaining on a POSIX.1b interval timer
SYNOPSIS
long sys_timer_gettime (timer_t timer_id, struct itimerspec *setting);
DESCRIPTIONtimer_gettime gets the time remaining on a POSIX.1b interval timer,
timer_id. It then loads this value in to the argument pointed to by
setting.
RETURN VALUEtimer_gettime returns 0 on success. Otherwise, timer_gettime returns
the errors listed in the "Errors" section.
ERRORS-EINVAL
An invalid timer_id value was specified.
-EFAULT
An invalid address of setting was specified.
SEE ALSOtimer_create(2), timer_delete(2), timer_getovverun(2), timer_set‐
time(2).
AUTHOR
Niki Rahimi.
Linux 2.6 2004-March-12 TIMER_GETTIME(2)