up | Inhaltsverzeichniss | Kommentar

Manual page for convert_ts_to_tv(3)

convert_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].

DESCRIPTION

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


index | Inhaltsverzeichniss | Kommentar

Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97