|
|
1.1 ! root 1: ! 2: ! 3: stime() COHERENT System Call stime() ! 4: ! 5: ! 6: ! 7: ! 8: Set the time ! 9: ! 10: #include ! 11: iinntt ssttiimmee(_t_i_m_e_p) ! 12: ttiimmee_tt *_t_i_m_e_p; ! 13: ! 14: stime sets the system time. timep points to a variable of type ! 15: time_t, which contains the number of seconds since midnight GMT ! 16: of January 1, 1970. ! 17: ! 18: stime is restricted to the superuser. ! 19: ! 20: ***** Files ***** ! 21: ! 22: <sys/types.h> ! 23: ! 24: ***** See Also ***** ! 25: ! 26: COHERENT system calls, ctime(), date, ftime(), stat(), utime() ! 27: ! 28: ***** Diagnostics ***** ! 29: ! 30: stime returns -1 on error, zero otherwise. ! 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.