serenity/AK/kstdio.h
Andreas Kling af81645a2a Kernel+LibC: Add a dbgputstr() syscall for sending strings to debug output.
This is very handy for the DebugLogStream implementation, among others. :^)
2019-07-21 21:43:37 +02:00

11 lines
217 B
C

#pragma once
#ifdef __serenity__
#include <Kernel/kstdio.h>
#else
#include <stdio.h>
#define kprintf printf
#define dbgprintf printf
#define dbgputstr(characters, length) fwrite(characters, 1, length, stdout)
#endif