mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:37:34 +00:00
Kernel+LibC: Add a dbgputstr() syscall for sending strings to debug output.
This is very handy for the DebugLogStream implementation, among others. :^)
This commit is contained in:
parent
0ef13e60b0
commit
af81645a2a
10 changed files with 33 additions and 4 deletions
|
@ -488,6 +488,12 @@ void dbgputch(char ch)
|
|||
syscall(SC_dbgputch, ch);
|
||||
}
|
||||
|
||||
int dbgputstr(const char* characters, int length)
|
||||
{
|
||||
int rc = syscall(SC_dbgputstr, characters, length);
|
||||
__RETURN_WITH_ERRNO(rc, rc, -1);
|
||||
}
|
||||
|
||||
char* tmpnam(char*)
|
||||
{
|
||||
ASSERT_NOT_REACHED();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue