a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Resources:
 battclock.resource
  ReadBattClock
  ResetBattClock
  WriteBattClock
Include
GuruMeditation
Docs » Autodocs » battclock.resource » ReadBattClock

NAME

	ReadBattClock -- Read time from clock chip.  (V36)

SYNOPSIS

	AmigaTime = ReadBattClock( )
ULONG ReadBattClock( void );
D0

FUNCTION

	This routine reads the time from the clock chip and returns it
as the number of seconds from 01-jan-1978.

INPUTS

RESULT

	AmigaTime       The number of seconds from 01-Jan-1978 that
the clock chip thinks it is.

NOTES

	If the clock chip returns an invalid date, the clock chip is
reset and 0 is returned.

SEE ALSO

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

DC
RZR
AOA
TSL

Comments:

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