1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-02 18:28:10 +00:00
serenity/Kernel/_test.cpp

12 lines
209 B
C++

#include "Userspace.cpp"
using namespace Userspace;
int elf_entry()
{
int fd = open("/Banner.txt");
char buf[2048];
int nread = read(fd, buf, sizeof(buf));
buf[nread] = '\0';
return 0;
}