*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: pthread_get_expiration_np | Section: 3 | Source: Digital UNIX | File: pthread_get_expiration_np.3.gz
pthread_g...iration_np(3) Library Functions Manual pthread_g...iration_np(3) NAME pthread_get_expiration_np - Obtains a value representing a desired ex- piration time. LIBRARY DECthreads POSIX 1003.1c Library (libpthread.so) SYNOPSIS #include <pthread.h> int pthread_get_expiration_np( const struct timespec *delta, struct timespec *abstime); STANDARDS None PARAMETERS Number of seconds and nanoseconds to add to the current system time. (The result is the time in the future.) This result will be placed in abstime. Value representing the absolute expiration time. The ab- solute expiration time is obtained by adding delta to the current sys- tem time. The resulting abstime is in Universal Coordinated Time (UTC). This value should be passed to the pthread_cond_timedwait(3) routine. 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(3). The timespec structure contains the following two fields: tv_sec is an integral number of seconds. tv.nsec is an integral number of nanosec- onds. RETURN VALUES If an error condition occurs, this routine returns an integer value in- dicating the type of error. Possible return values are as follows: Successful completion. The value specified by delta is invalid. ERRORS None RELATED INFORMATION Functions: pthread_cond_timedwait(3) Manuals: Guide to DECthreads and Programmer's Guide delim off pthread_g...iration_np(3)

Navigation Options