18 lines
476 B
C
18 lines
476 B
C
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
// Copyright (c) 2026 0xKarinyash
|
|
|
|
#pragma once
|
|
#include <Types.h>
|
|
|
|
enum {
|
|
kConsoleInput = 0,
|
|
kConsoleOutput = 1,
|
|
kConsoleEOF = -1,
|
|
kConsoleDefaultBufferSize = 1024
|
|
};
|
|
|
|
Int32 ConsolePrintString(const char* string);
|
|
Int32 ConsolePrint(const char* format, ...);
|
|
Int32 StringFormat(char* destination, UInt64 size, const char* format, ...);
|
|
Int32 ConsoleGetCharacter();
|
|
char* ConsoleReadLine(char* string, UInt64 size); |