summaryrefslogtreecommitdiff
path: root/Kernel/kstdio.h
blob: ce7d6fdae4a580404278118c890e5850f60f4c3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

#include <AK/Types.h>

extern "C" {
int dbgprintf(const char* fmt, ...);
int dbgputstr(const char*, int);
int kprintf(const char* fmt, ...);
int ksprintf(char* buf, const char* fmt, ...);
}

#ifndef USERLAND
#    define printf dbgprintf
#endif

#ifndef __serenity__
#define dbgprintf printf
#endif