mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
67067904f5
This adds a dbgputch() alongside dbgputstr() in kstdio.h. The function already existed as the static function debugger_out(). It has now been exposed to users of kstdio.h.
19 lines
471 B
C
19 lines
471 B
C
/*
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <AK/Types.h>
|
|
|
|
extern "C" {
|
|
void dbgputch(char);
|
|
void dbgputstr(const char*, size_t);
|
|
void kernelputstr(const char*, size_t);
|
|
void kernelcriticalputstr(const char*, size_t);
|
|
int snprintf(char* buf, size_t, const char* fmt, ...) __attribute__((format(printf, 3, 4)));
|
|
void set_serial_debug(bool on_or_off);
|
|
int get_serial_debug();
|
|
}
|