sys_timer_gettime  [kernel/posix-timers.c]


Gets the time remaining on a POSIX interval timer.

Arguments

eax 261
ebx Timer ID.
ecx

Pointer to a itimerspec structure which will receive the information:

struc itimerspec
{
.it_interval timespec
.it_value    timespec
}

itimerspec members:

it_interval
Timer period.
it_value
Timer expiration.

Return values

If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:

-EINVAL An invalid value in ebx was specified.
-EFAULT ecx points to an invalid location.

Remarks

n/a

Compatibility

n/a