1
2TIMER_GETTIME(2)           Linux Programmer's Guide           TIMER_GETTIME(2)
3
4
5

NAME

7       timer_gettime - Get the time remaining on a POSIX.1b interval timer
8

SYNOPSIS

10       long sys_timer_gettime (timer_t timer_id, struct itimerspec *setting);
11
12

DESCRIPTION

14       timer_gettime  gets  the  time  remaining on a POSIX.1b interval timer,
15       timer_id. It then loads this value in to the  argument  pointed  to  by
16       setting.
17
18

RETURN VALUE

20       timer_gettime  returns  0  on success. Otherwise, timer_gettime returns
21       the errors listed in the "Errors" section.
22
23

ERRORS

25       -EINVAL
26              An invalid timer_id value was specified.
27
28
29       -EFAULT
30              An invalid address of setting was specified.
31
32

SEE ALSO

34       timer_create(2),   timer_delete(2),   timer_getovverun(2),   timer_set‐
35       time(2).
36
37

AUTHOR

39       Niki Rahimi.
40
41
42
43Linux 2.6                        2004-March-12                TIMER_GETTIME(2)
Impressum