Minor fixes to comments.
[AROS.git] / rom / kernel / bug.c
blobf0ec82d511fe93b46233d40296fa7952e1604228
1 #include <aros/kernel.h>
2 #include <aros/libcall.h>
4 #include <stdarg.h>
5 #include <stdio.h>
7 #include <kernel_base.h>
8 #include <kernel_debug.h>
10 /*****************************************************************************
12 NAME */
13 #include <proto/kernel.h>
15 AROS_LH2(int, KrnBug,
17 /* SYNOPSIS */
18 AROS_LHA(const char *, format, A0),
19 AROS_LHA(va_list, args, A1),
21 /* LOCATION */
22 struct KernelBase *, KernelBase, 12, Kernel)
24 /* FUNCTION
25 Output a formatted string to low-level debug output stream.
27 The function supports the same set of formatting specifiers
28 as standard C printf() function.
30 INPUTS
31 format - A format string
32 args - A list of arguments
34 RESULT
35 Number of succesfully printed characters
37 NOTES
39 EXAMPLE
41 BUGS
43 SEE ALSO
45 INTERNALS
46 During very early system startup this function can be called
47 directly with KernelBase set to NULL. Architecture-specific
48 implementations of this function need to take care of it.
50 ******************************************************************************/
52 AROS_LIBFUNC_INIT
54 return krnBug(format, args, KernelBase);
56 AROS_LIBFUNC_EXIT