Print text with the kernel debugger
#include <sys/neutrino.h> void DebugKDOutput( const char* str, size_t size );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The DebugKDBreak() kernel call causes the kernel debugger to print size characters from str if the kernel debugger is present in your boot image. If it isn't in your boot image, nothing happens.
When, where, and how the kernel debugger displays this message depends on which host debugger you're using.
Blocking states
None.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |