added some useless shell commands

This commit is contained in:
2026-07-12 04:37:46 -05:00
parent 3c6fd8cb65
commit d60036a4bd
13 changed files with 96 additions and 7 deletions

View File

@@ -39,6 +39,10 @@ int read(int fd, void* buf, size_t cnt) {
return syscall3(SYS_READ, (uint32_t)fd, (uint32_t)buf, (uint32_t)cnt);
}
int lseek(int fd, size_t offset, int whence) {
return syscall3(SYS_LSEEK, (uint32_t)fd, offset, whence);
}
int close(int fd) {
return syscall1(SYS_CLOSE, fd);
}