sys_timer_settime  [kernel/posix-timers.c]


Sets the time remaining on a POSIX interval timer.

Arguments

eax 260
ebx Timer ID.
ecx Flags.
edx

Pointer to a propely initialized itimerspec structure:

struc itimerspec
{
.it_interval timespec
.it_value    timespec
}

itimerspec members:

it_interval
Timer period.
it_value
Timer expiration.
esi Pointer to itimerspec structure which will receive the previos values. This argument may be NULL.

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