Added unistd.h and some linux syscall wrappers

This commit is contained in:
Max Wash
2020-03-31 18:36:58 +01:00
parent 76d1753ab5
commit 5e3d012bf7
17 changed files with 450 additions and 7 deletions

View File

@@ -1,7 +1,9 @@
#include <unistd.h>
#include <stdio.h>
#include <stdint.h>
int main(int argc, char **argv)
{
return 42;
const char *msg = "Hello!\n";
write(fileno(stdout), msg, 7);
return 0;
}