added some useless shell commands
This commit is contained in:
@@ -13,13 +13,14 @@
|
||||
#define SYS_FORK 21
|
||||
#define SYS_EXEC 22
|
||||
#define SYS_DUP2 23
|
||||
#define SYS_LSEEK 24
|
||||
|
||||
int open(const char* path);
|
||||
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);
|
||||
int lseek(int fd, size_t offset, int whence);
|
||||
|
||||
void exit(int status) __attribute__((noreturn));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user