[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        TR_SETSYSTIME -- Set the system time.

   FUNCTION
        Set the system idea of what time it is.  The system starts out
        at time "zero" so it is safe to set it forward to the real
        time.  However, care should be taken when setting the time
        backwards.  System time is generally expected to monotonically
        increasing.

   TIMER REQUEST
        io_Message      mn_ReplyPort initialized
        io_Device       preset by timer in opendevice
        io_Unit         preset by timer in opendevice
        io_Command      tr_getsystime
        io_Flags        IOF_QUICK permitted
        tr_time         a timeval structure with the current system
                            time

   RESULTS
        tr_time         will contain junk

   NOTES
        This function may be called from interrupts.

   SEE ALSO
        timer.device/tr_getsystime,
        timer.device/getsystime(),

   BUGS