get_expiration_time man page on HP-UX

Printed from http://www.polarhome.com/service/man/?qf=get_expiration_time&af=0&tf=2&of=HP-UX

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 sys‐
       tem  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 cur‐
			rent 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)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net