P_ltime 3porty | 2011-04-11 | libporty manual |
---|
P_ltime
#include <libporty/host/time.h>typedef unsigned long int P_time_t;
void P_ltime (P_time_t *secs , P_time_t *usecs );Link with -lporty_host
Query the current time in Epoch, with subseconds of about microsecond precision as a pair of integers: *secs holds seconds, *usecs holds microseconds. *usecs may be NULL, in which case only *secs is filled in.WARNING: granularity depends on system; it is wise not to expect anything better than milisecond resolution.
P_ltime 3porty | 2011-04-11 | libporty manual |
---|