ftime(3C)ftime(3C)NAMEftime - get date and time
SYNOPSIS
#include <sys/timeb.h>
int ftime(struct timeb *tp);
DESCRIPTIONftime sets the time and millitm members of the timeb structure pointed to
by tp to contain the seconds and milliseconds, respectively, of the
current time in seconds since 00:00:00 UTC, January 1, 1970. The
contents of the timezone and dstflag members of tp after a call to
ftime() are unspecified.
SEE ALSOtime(2), stime(2), gettimeofday(3B), ctime(3C)DIAGNOSTICS
Upon successful completion, the ftime function returns 0. Otherwise -1 is
returned.
Page 1