define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / rom / battclock / writebattclock.c
blobff4c7e02748f4f865e66b1ec846d716319b41d30
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 */