ftime()

get date and time 

Function


SYNOPSIS

#include <sys/timeb.h>

int ftime(struct timeb *tp);


DESCRIPTION

The ftime() function sets the time and millitm members of the timeb structure pointed to by tp to contain the seconds and milliseconds portions, respectively, of the current time in seconds since 00:00:00 UTC (Coordinated Universal Time), January 1, 1970. The contents of the timezone and dstflag members of tp after a call to ftime() are unspecified.


PARAMETERS

tp 

Points to the timeb structure that is to receive the current time information.


RETURN VALUES

The ftime() function always returns 0.


CONFORMANCE

UNIX 98.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
ctime(), gettimeofday(), time()


MKS Toolkit 9.2 Documentation Build 16.