get_expiration_time(3t) hpux man page | unix.com

Man Page: get_expiration_time

Operating Environment: hpux

Section: 3t

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)
Related Man Pages
pthread_cond_reltimedwait_np(3c) - opensolaris
pthread_cond_wait(3c) - sunos
adjtime(2) - osf1
pthread_get_expiration_np(3) - osf1
pthread_cond_timedwait(3c) - sunos
Similar Topics in the Unix Linux Community
Correcting system time
Test whether absolute path in variable
The absolute void
absolute value
Script to adjust system time