1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-11 10:18:15 +09:00

Add the basic character devices to kernel.

This commit is contained in:
Andreas Kling 2018-10-16 14:33:16 +02:00
parent 12e515735b
commit aec8ab0a60
Notes: sideshowbarker 2024-07-19 18:47:17 +09:00
13 changed files with 52 additions and 58 deletions

View file

@ -1,8 +1,7 @@
#include "NullDevice.h"
#include "Limits.h"
#include <AK/StdLib.h>
#include <cstring>
#include <cstdio>
#include <AK/kstdio.h>
NullDevice::NullDevice()
{
@ -14,7 +13,7 @@ NullDevice::~NullDevice()
Unix::ssize_t NullDevice::read(byte*, Unix::size_t)
{
printf("read from null\n");
kprintf("NullDevice: read from null\n");
return 0;
}