get_expiration_time(3T) get_expiration_time(3T)
NAME
get_expiration_time() - add a specific time interval to the current absolute system time
SYNOPSIS
DESCRIPTION
The function adds a specific time interval to the current absolute system time and returns the new absolute time. This new absolute time
is used as the expiration time in a call to pthread_cond_timedwait(3T).
The delta argument represents the number of seconds and nanoseconds to add to the current system time. On return from this function, the
abstime argument contains the absolute system time that will be used in a call to pthread_cond_timedwait(3T).
Parameters
delta Number of seconds and nanoseconds to add to the current system time.
abstime Output parameter for the absolute system time after adding delta to the current absolute system time.
RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
If any of the following occur, the function returns the corresponding error number:
[EINVAL] The value specified by delta or abstime is invalid.
AUTHOR
was developed by X/Open.
SEE ALSO
pthread_cond_timedwait(3T).
STANDARDS CONFORMANCE
: X/Open.
get_expiration_time(3T)