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


NAME
    TR_GETSYSTIME -- get the system time.

FUNCTION
    Ask the system what time it is.  The system time starts off at
    zero at power on, but may be initialized via the TR_SETSYSTIME
    call.

    System time is monotonically increasing, and guaranteed to be
    unique (except when the system time is set backwards).

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

RESULTS
    tr_time         a timeval structure with the current system
                        time

NOTES
    This function may be called from interrupts.

SEE ALSO
    timer.device/TR_SETSYSTIME,
    timer.device/GetSysTime(),

BUGS