man(1) Manual page archive


     STIME(2)                                                 STIME(2)

     NAME
          stime, biasclock - set time

     SYNOPSIS
          int stime(tp)
          long *tp;

          biasclock(milli)
          long milli;

     DESCRIPTION
          Stime sets the system's idea of the time and date.  Time,
          pointed to by tp, is measured in seconds from 00:00:00 GMT
          Jan 1, 1970.

          Biasclock informs the system that its idea of the time
          should be incremented by milli milliseconds.  The system
          will make the adjustment gradually and without causing time
          to run backwards.

          Only the super-user may use these calls.

     SEE ALSO
          date(1), wwv(1), time(2), ctime(3)

     DIAGNOSTICS
          EPERM