Removed 'examinelock', because its functionality is a subset of that of
[AROS.git] / rom / battclock / writebattclock.c
blob4c54b8beb0d1dc0b5a4623899146e8479cebc05b
1 /*
2 Copyright © 1995-2009, 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 system's 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 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 return;
52 AROS_LIBFUNC_EXIT
53 } /* WriteBattClock */