pthread_get_expiration_np man page on Ultrix

Man page or keyword search:  
man Server   3690 pages
apropos Keyword Search (all sections)
Output format
Ultrix logo
[printable version]

pthread_get_expiration_np(3thr)		       pthread_get_expiration_np(3thr)

Name
       pthread_get_expiration_n - Obtains a value representing a desired expi‐
       ration time.

Syntax
       #include <pthread.h>

       int pthread_get_expiration_np (delta, abstime)
       struct timespec *delta;
       struct timespec *abstime;

Arguments
       delta   Number of seconds and nanoseconds to add to the current	system
	       time.  The result is the time that a timed wait expires.

       abstime Value representing the expiration time.

Description
       This  routine  adds a specified interval to the current absolute system
       time and returns a new absolute time.  This new absolute time  is  used
       as the expiration time in a call to pthread_cond_timedwait.

       The struct timespec structure contains two fields, as follows:

	  ·	 tv.sec is an integer number of seconds, and

	  ·	 tv.nsec is an integer number of nanoseconds

Return Values
       If an error condition occurs, this routine returns -1 and sets errno to
       the corresponding error value.  Possible return values are as follows.

       Return	Error	   Description
       0		   Successful  comple‐
			   tion.

       -1	[EINVAL]   The value specified
			   by	  delta	    is
			   invalid.

					       pthread_get_expiration_np(3thr)
[top]

List of man pages available for Ultrix

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