1 struct stat;
2 struct rtcdate;
3
4
5 int fork(void);
6 int exit(void) __attribute__((noreturn));
7 int wait(void);
8 int pipe(int*);
9 int write(int, const void*, int);
10 int read(int, void*, int);
11 int close(int);
12 int kill(int);
13 int exec(char*, char**);
14 int open(const char*, int);
15 int mknod(const char*, short, short);
16 int unlink(const char*);
17 int fstat(int fd, struct stat*);
18 int link(const char*, const char*);
19 int mkdir(const char*);
20 int chdir(const char*);
21 int dup(int);
22 int getpid(void);
23 char* sbrk(int);
24 int sleep(int);
25 int uptime(void);
26
27
28 int stat(const char*, struct stat*);
29 char* strcpy(char*, const char*);
30 void *memmove(void*, const void*, int);
31 char* strchr(const char*, char c);
32 int strcmp(const char*, const char*);
33 void printf(int, const char*, ...);
34 char* gets(char*, int max);
35 uint strlen(const char*);
36 void* memset(void*, int, uint);
37 void* malloc(uint);
38 void free(void*);
39 int atoi(const char*);