*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> pthread_get_expiration_np (3)              
Title
Content
Arch
Section
 

pthread_get_expiration_np(3)

Contents


NAME    [Toc]    [Back]

       pthread_get_expiration_np - Obtains a value representing a
       desired expiration time

SYNOPSIS    [Toc]    [Back]

       #include <pthread.h>

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

LIBRARY    [Toc]    [Back]

       DECthreads POSIX 1003.1c Library (libpthread.so)

STANDARDS    [Toc]    [Back]

       None

PARAMETERS    [Toc]    [Back]

       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 absolute expiration time is
       obtained by adding delta to the current system  time.  The
       resulting  abstime is in Universal Coordinated Time (UTC).

DESCRIPTION    [Toc]    [Back]

       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 nanoseconds.

RETURN VALUES    [Toc]    [Back]

       If  an  error  condition  occurs,  this routine returns an
       integer value  indicating  the  type  of  error.  Possible
       return  values are as follows: Successful completion.  The
       value specified by delta is invalid.

ERRORS    [Toc]    [Back]

       None

SEE ALSO    [Toc]    [Back]

      
      
       Functions: pthread_cond_timedwait(3)

       Manuals: Guide to DECthreads and Programmer's Guide



                                     pthread_get_expiration_np(3)
[ Back ]
 Similar pages
Name OS Title
timer_gettime Tru64 Obtains or sets the expiration
timer_settime Tru64 Obtains or sets the expiration
create_link HP-UX Creates a soft link and optionally specifies an expiration time and an extension time
timer_settime IRIX set the expiration time for a posix timer
timer_gettime IRIX get the time remaining before posix timer expiration
clock_gettime Tru64 Obtains or sets the time for the specified clock (P1003.1b)
clock_settime Tru64 Obtains or sets the time for the specified clock (P1003.1b)
devclass FreeBSD object representing a class of devices
login_check_expire OpenBSD check for password expiration
check_expire OpenBSD check for password expiration
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service