(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/battclock.h>

void WriteBattClock (time)

LOCATION
In BattClockBase at offset 3

SYNOPSIS
ULONG time

FUNCTION
Set the systems battery backed up clock to the time specified. The value should be the number of seconds since 00:00:00 on 1.1.1978.

INPUTS
time
The number of seconds elapsed since 00:00:00 1.1.1978

RESULT
The clock will be set.

EXAMPLE

SEE ALSO
ReadBattClock, ResetBattClock

NOTES
This may not do anything on some systems where the battery backed up clock either doesn't exist, or may not be writable.

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
29.01.1998 iaint
Added battclock.resource