ftime(3C)
ftime - get date and time
As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.
NAME ftime - get date and time SYNOPSIS #include <sys/timeb.h> int ftime(struct timeb *tp); DESCRIPTION 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. SEE ALSO time(2), stime(2), gettimeofday(3B), ctime(3C) DIAGNOSTICS Upon successful completion, the ftime function returns 0. Otherwise -1 is returned.