tail head cat sleep
QR code linking to this page

Manual Pages  — TVTOHZ

NAME

tvtohz – convert time interval to tick count

CONTENTS

SYNOPSIS

#include <sys/time.h>

int
tvtohz(struct timeval *tv);

DESCRIPTION

The tvtohz() function accepts a single argument tv which specifies the time interval over which to calculate the number of system ticks that would elapse.

RETURN VALUES

Returns the integral number of system ticks expected to elapse in the given interval, including the current tick.

SEE ALSO

microtime(9), microuptime(9), timeout(9)

HISTORY

The tvtohz function first appeared in FreeBSD 3.0

AUTHORS

This manual page was written by Kelly Yancey <Mt kbyanc@posi.net>.

TVTOHZ (9) January 3, 2000

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Never write it in C if you can do it in `awk';
Never do it in `awk' if `sed' can handle it;
Never use `sed' when `tr' can do the job;
Never invoke `tr' when `cat' is sufficient;
Avoid using `cat' whenever possible.
— Taylor's Laws of Programming