a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Devices:
 timer.device
  --background--
  AbortIO
  AddTime
  CmpTime
  GetSysTime
  ReadEClock
  SubTime
  TR_ADDREQUEST
  TR_GETSYSTIME
  TR_SETSYSTIME
Include
GuruMeditation
Docs » Autodocs » timer.device » TR_GETSYSTIME

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

RESULT

	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

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

The Silents

AYS
SNT
TSL
PHA

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se