Updated PCI IDs to latest snapshot.
[tangerine.git] / arch / .unmaintained / m68k-pp-native / battclock / writebattclock.c
blob6f883ef9df833a0f8656c30b2adc5d5441bd3814
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: WriteBattClock()
6 Lang: english
7 */
8 #include "battclock_intern.h"
10 /*****************************************************************************
12 NAME */
13 #include <proto/battclock.h>
15 AROS_LH1(void, WriteBattClock,
17 /* SYNOPSIS */
18 AROS_LHA(ULONG, time, D0),
20 /* LOCATION */
21 APTR *, BattClockBase, 3, Battclock)
23 /* FUNCTION
24 Set the systems battery backed up clock to the time specified. The
25 value should be the number of seconds since 00:00:00 on 1.1.1978.
27 INPUTS
28 time - The number of seconds elapsed since 00:00:00 1.1.1978
30 RESULT
31 The clock will be set.
33 NOTES
34 This may not do anything on some systems where the battery backed
35 up clock either doesn't exist, or may not be writable.
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 ReadBattClock, ResetBattClock
44 INTERNALS
46 HISTORY
47 27-11-96 digulla automatically created from
48 battclock_lib.fd and clib/battclock_protos.h
50 *****************************************************************************/
52 AROS_LIBFUNC_INIT
54 return;
56 AROS_LIBFUNC_EXIT
57 } /* WriteBattClock */