[Previous] [Contents] [Index] [Next]

timer_getexpstatus()

Get the expiry status of a timer

Synopsis:

#include <time.h>

int timer_getexpstatus( timer_t timerid );

Library:

libc

Description:

The timer_getexpstatus() function gets the expiry status of the time with the ID given by timerid.

Returns:

0
The timer has expired.
-1
An error occurred; errno is set.

Errors:

EINVAL
The timer specified by timerid doesn't exist.

Classification:

POSIX 1003.1j (draft)

Safety:
Cancellation point No
Interrupt handler No
Signal handler Yes
Thread Yes

See also:

TimerInfo()


[Previous] [Contents] [Index] [Next]