Fixed size calculation of ldargs array allocation.
[AROS.git] / rom / keymap / askkeymapdefault.c
blob2dae6eabf9cca4aa64583f2daf0ab05dde9e7d29
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: keymap.library function AskKeyMapDefault()
6 Lang: english
7 */
8 #include "keymap_intern.h"
10 #include <aros/debug.h>
12 /*****************************************************************************
14 NAME */
15 #include <clib/keymap_protos.h>
17 AROS_LH0(struct KeyMap *, AskKeyMapDefault,
19 /* SYNOPSIS */
20 /* void */
22 /* LOCATION */
23 struct Library *, KeymapBase, 6, Keymap)
25 /* FUNCTION
26 Gives you a pointer to the current system default keymap.
28 INPUTS
30 RESULT
31 Pointer to the system defaul keymap.
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 SetKeyMapDefault()
42 INTERNALS
44 HISTORY
45 27-11-96 digulla automatically created from
46 keymap_lib.fd and clib/keymap_protos.h
48 *****************************************************************************/
50 AROS_LIBFUNC_INIT
52 return (KMBase(KeymapBase)->DefaultKeymap);
54 AROS_LIBFUNC_EXIT
55 } /* AskKeyMapDefault */