ftime(3C) ftime(3C)
ftime - get date and time
#include <sys/timeb.h>
int ftime(struct timeb *tp);
ftime 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.
time(2), stime(2), gettimeofday(3B), ctime(3C)
Upon successful completion, the ftime function returns 0. Otherwise -1 is
returned.
PPPPaaaaggggeeee 1111 [ Back ]
|