Syntax | #include <sys/timeb.h> int ftime(struct timeb *tp); | ||||||||
Description |
The tp is a pointer to a structure that is defined in sys/ struct timeb { time_t time; /* Share of seconds */ unsigned short millitim; /* Share of milliseconds */ short timezone; /* Not supported */ short dstflag; /* Not supported */ }; or struct timeb64 { time64_t time; unsigned short millitm; short timezone; short dstflag; short filler; }; The BS2000 For portability reasons, additional options have been included in the structures | ||||||||
Return val. | 0 | ||||||||
Notes | Depending on the resolution of the system clock, as a rule the value in
The variable BS2000 The memory space for the result structure must be supplied explicitly! The type From the following structure components, only the
| ||||||||
See also |
|