|
|
1.1 ! root 1: ! 2: ! 3: ftime() Time Function ftime() ! 4: ! 5: ! 6: ! 7: ! 8: Get the current time from the operating system ! 9: ! 10: #include <sys/timeb.h> ! 11: ffttiimmee(_t_b_p) ssttrruucctt ttiimmeebb *_t_b_p; ! 12: ! 13: ftime fills the structure timeb, which is pointed to tbp, with ! 14: COHERENT's representation of the current time. timeb is defined ! 15: in the header file timeb.h, as follows: ! 16: ! 17: ! 18: struct timeb { ! 19: time_t time; ! 20: unsigned short millitm; ! 21: short timezone; ! 22: short dstflag; ! 23: } ! 24: ! 25: ! 26: The member time is the number of seconds since January 1, 1970, ! 27: 0h00m00s GMT. millitm is a count of milliseconds. timezone and ! 28: dstflag are obsolete; they have been replaced by the environmen- ! 29: tal variable TIMEZONE. ! 30: ! 31: ***** See Also ***** ! 32: ! 33: date, time, TIMEZONE, types.h ! 34: ! 35: ! 36: ! 37: ! 38: ! 39: ! 40: ! 41: ! 42: ! 43: ! 44: ! 45: ! 46: ! 47: ! 48: ! 49: ! 50: ! 51: ! 52: ! 53: ! 54: ! 55: ! 56: ! 57: ! 58: ! 59: ! 60: ! 61: ! 62: ! 63: ! 64: COHERENT Lexicon Page 1 ! 65: ! 66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.