hpux man page for get_expiration_time

Query: get_expiration_time

OS: hpux

Section: 3t

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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_wait(3c) - opensolaris
pthread_cond_wait(3c) - sunos
adjtime(2) - osf1
get_expiration_time(3t) - hpux
tis_get_expiration(3) - osf1
Similar Topics in the Unix Linux Community
Time Calculations
The absolute void
absolute value
Script to add time convert to seconds
Script to adjust system time