|
|
1.1 ! root 1: ! 2: ! 3: time() Time Function time() ! 4: ! 5: ! 6: ! 7: ! 8: Get current time ! 9: ! 10: #include <time.h> ! 11: #include <sys/types.h> ! 12: ttiimmee_tt ttiimmee(_t_p) ttiimmee_tt *_t_p; ! 13: ! 14: time reads the current system time. tp points to a data element ! 15: of the type time_t, which is defined in the header file types.h ! 16: as being equivalent to a long. COHERENT defines the current sys- ! 17: tem time as the number of seconds since January 1, 1970, 0h00m00s ! 18: GMT. ! 19: ! 20: ***** Example ***** ! 21: ! 22: For an example of this function, see the entry for asctime. ! 23: ! 24: ***** See Also ***** ! 25: ! 26: date, time (overview) ! 27: ! 28: ! 29: ! 30: ! 31: ! 32: ! 33: ! 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.