mirror of https://github.com/mkerrisk/man-pages
timer_settime.2: Minor fixes
Fix typos: * duplicate the * curr_value is a pointer * misplaced 'a'. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
37f0c8322e
commit
3f1a745d44
|
@ -148,23 +148,23 @@ would previously have next expired (in
|
|||
.IR old_value->it_value ).
|
||||
|
||||
.BR timer_gettime ()
|
||||
returns the time until next expiration, and the the interval,
|
||||
returns the time until next expiration, and the interval,
|
||||
for the timer specified by
|
||||
.IR timerid ,
|
||||
in the buffer pointed to by
|
||||
.IR curr_value .
|
||||
The time remaining until the next timer expiration is returned in
|
||||
.IR curr_value.it_value ;
|
||||
.IR curr_value->it_value ;
|
||||
this is always a relative value, regardless of whether the
|
||||
.BR TIMER_ABSTIME
|
||||
flag was used when arming the timer.
|
||||
If the value returned in
|
||||
.IR curr_value.it_value
|
||||
.IR curr_value->it_value
|
||||
is zero, then the timer is currently disarmed.
|
||||
The timer interval is returned in
|
||||
.IR curr_value.it_interval .
|
||||
.IR curr_value->it_interval .
|
||||
If the value returned in
|
||||
.IR curr_value.it_interval
|
||||
.IR curr_value->it_interval
|
||||
is zero, then this is a "one-shot" timer.
|
||||
.SH RETURN VALUE
|
||||
On success,
|
||||
|
@ -183,7 +183,7 @@ These functions may fail with the following errors:
|
|||
.IR old_value ,
|
||||
or
|
||||
.I curr_value
|
||||
is not valid a pointer.
|
||||
is not a valid pointer.
|
||||
.TP
|
||||
.B EINVAL
|
||||
.I timerid
|
||||
|
|
Loading…
Reference in New Issue