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_SETSYSTIME

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

RESULT

	tr_time         will contain junk

NOTES

	This function may be called from interrupts.

SEE ALSO

timer.device/TR_GETSYSTIME(), 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:

Sanity

SNT
CSL
ATX
SCX

Comments:

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