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 » GetSysTime

NAME

	GetSysTime -- Get the system time. (V36)

SYNOPSIS

	GetSysTime( Dest )
A0
void GetSysTime( struct timeval * );

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
timer.device command.
System time is monotonocally increasing and guarenteed to be
unique (except when the system time is set back).
A0 will be left unchanged.
This function is less expensive to use than the TR_GETSYSTIME
IORequest.

INPUTS

	Dest -- pointer to a timeval structure to hold the system time.

RESULT

	Dest -- the timeval structure will contain the system time.

NOTES

	This function may be called from interrupts.

SEE ALSO

timer.device/TR_GETSYSTIME(), timer.device/TR_SETSYSTIME()

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:

Scoopex

SCX
SPB
RZR
AFL

Comments:

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