| www.delorie.com/djgpp/doc/libc-2.01/libc_306.html | search |
#include <sys/timeb.h> int ftime(struct timeb *buf);
This function stores the current time in the structure buf. The
format of struct timeb is:
struct timeb {
time_t time; /* seconds since 00:00:00 GMT 1/1/1970 */
unsigned short millitm; /* milliseconds */
short timezone; /* difference between GMT and local, minutes */
short dstflag; /* set if daylight savings time in affect */
};
Zero on success, nonzero on error.
struct timeb t; ftime(&t);
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |