convert_ts_to_tv(3)convert_ts_to_tv(3)NAMEconvert_ts_to_tv - convert timestamp to timeval
SYNOPSIS
#include <sys/time.h>
#include <sys/time_stamp.h>
convert_ts_to_tv(ts_format, tsp, tvp)
int ts_format;
struct tsval *tsp;
struct timeval *tvp;
ARGUMENTS
ts_format identifies (machine dependent) timestamp format
tsp pointer to (machine dependent) timestamp
tvp pointer to (machine independent) timeval [returned].
DESCRIPTIONconvert_ts_to_tv converts the timestamp pointed to by tsp into a
timeval according to ts_format and puts the resultant value in the
timeval pointed to by tvp.
ts_format should be the value of the symbol TS_FORMAT at the time that
the timestamps were taken.
DIAGNOSTICS
No value is returned. If ts_format is not valid, the timeval pointed
to by tvp will be zeroed.
NeXT Computer, Inc. March 24, 1989 convert_ts_to_tv(3)