removed pdclib, strange things were happening..., user shell kinda works now

This commit is contained in:
2026-07-06 22:13:57 -05:00
parent 7d76f0ec73
commit 6d7a23d747
308 changed files with 829 additions and 41231 deletions

View File

@@ -0,0 +1,22 @@
#ifndef RLIBC_SYSCALL_H
#define RLIBC_SYSCALL_H
#include <stdint.h>
#include <stddef.h>
#define SYS_EXIT 1
#define SYS_READ 3
#define SYS_WRITE 4
int write(int fd, const void *buf, size_t count);
int read(int fd, void *buf, size_t count);
int close(int fd);
size_t lseek(int fd, size_t offset, int whence);
void exit(int status) __attribute__((noreturn));
void *sbrk(intptr_t increment);
int brk(void *addr);
#endif