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

  man pages->NetBSD man pages -> itimerfix (9)              
Title
Content
Arch
Section
 

ITIMERFIX(9)

Contents


NAME    [Toc]    [Back]

     itimerfix - check that a timeval value is valid, and correct

SYNOPSIS    [Toc]    [Back]

     #include <sys/time.h>

     int
     itimerfix(struct timeval *tv);

DESCRIPTION    [Toc]    [Back]

     The itimerfix function checks that the value in tv is valid (0 <=
     tv->tv_sec   0 <= tv->tv_usec < 1000000), and that the total time represented
 is at least tick.

     If it is smaller, then it is adjusted to tick.

RETURN VALUES    [Toc]    [Back]

     itimerfix returns 0 on success or EINVAL if tv is invalid.

SEE ALSO    [Toc]    [Back]

      
      
     nanosleep(2), poll(2), select(2), setitimer(2)

BSD                            November 23, 2001                           BSD
[ Back ]
 Similar pages
Name OS Title
pathchk Linux check whether file names are valid or portable
gss_context_time HP-UX check the number of seconds the context will remain valid
cocogif IRIX color correct a GIF image file
cocostiff IRIX color correct a TIFF stream
adjtime FreeBSD correct the time to allow synchronization of the system clock
dh_testversion Linux ensure that the correct version of debhelper is installed
adjtime IRIX correct the time to allow synchronization of the system clock
adjtime Tru64 Correct the time to allow synchronization of the system clock
adjtime OpenBSD correct the time to allow synchronization of the system clock
adjtime HP-UX correct the time to synchronize the system clock
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service