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

  man pages->OpenBSD man pages -> tvtohz (9)              
Title
Content
Arch
Section
 

TVTOHZ(9)

Contents


NAME    [Toc]    [Back]

     tvtohz - translate time period to timeout delay

SYNOPSIS    [Toc]    [Back]

     #include <sys/types.h>
     #include <sys/time.h>
     #include <sys/systm.h>

     int
     tvtohz(struct timeval *tv);

DESCRIPTION    [Toc]    [Back]

     The tvtohz() function computes the number of hz in the specified amount
     of  time.  This is mainly used to translate a timeval into a
suitable argument
 for timeout(9).

CODE REFERENCES    [Toc]    [Back]

     This    function    is    implemented    in     the     file
sys/kern/kern_clock.c.

SEE ALSO    [Toc]    [Back]

      
      
     hz(9), hzto(9), timeout(9)

OpenBSD      3.6                        February     15,     2002
[ Back ]
 Similar pages
Name OS Title
hzto OpenBSD translate absolute time to timeout delay
sleep Linux delay for a specified amount of time
vlGetPathDelay IRIX get the time delay between two jacks in a VLPath
after IRIX Execute a command after a time delay
timeout_del OpenBSD execute a function after a specified period of time
untimeout OpenBSD execute a function after a specified period of time
timeout_add OpenBSD execute a function after a specified period of time
timeout OpenBSD execute a function after a specified period of time
timeout_initialized OpenBSD execute a function after a specified period of time
timeout_pending OpenBSD execute a function after a specified period of time
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service