Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 840 Bytes

File metadata and controls

37 lines (25 loc) · 840 Bytes
**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](_04FF.md)
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](../exec/OpenDevice.md)
io_Unit         preset by timer in [OpenDevice](../exec/OpenDevice.md)
io_Command      TR_GETSYSTIME
io_Flags        IOF_QUICK permitted

**RESULTS**

tr_time         a [timeval](_0053.md) structure with the current system
time

NOTES
This function may be called from interrupts.

**SEE ALSO**

[timer.device/TR_SETSYSTIME](_04FF.md),
[timer.device/GetSysTime](_04FA.md),

BUGS