added some useless shell commands
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user