2006-07-16 15:36:31 +00:00
|
|
|
int fork(void);
|
|
|
|
int exit(void) __attribute__((noreturn));
|
|
|
|
int wait(void);
|
|
|
|
int cons_putc(int);
|
|
|
|
int pipe(int*);
|
|
|
|
int write(int, void*, int);
|
|
|
|
int read(int, void*, int);
|
|
|
|
int close(int);
|
|
|
|
int block(void);
|
|
|
|
int kill(int);
|
|
|
|
int panic(char*);
|
|
|
|
int cons_puts(char*);
|
2006-08-08 19:58:06 +00:00
|
|
|
int exec(char *, char **);
|
|
|
|
int open(char *, int);
|
2006-08-08 18:07:37 +00:00
|
|
|
int mknod (char*,short,short,short);
|
2006-08-10 01:28:57 +00:00
|
|
|
int unlink (char*);
|
2006-08-12 11:38:57 +00:00
|
|
|
struct stat;
|
2006-08-12 04:33:50 +00:00
|
|
|
int fstat (int fd, struct stat *stat);
|
2006-08-12 11:38:57 +00:00
|
|
|
|
2006-07-16 15:36:31 +00:00
|
|
|
int puts(char*);
|
2006-07-16 16:00:03 +00:00
|
|
|
char* strcpy(char*, char*);
|
2006-08-10 01:28:57 +00:00
|
|
|
void printf(int fd, char *fmt, ...);
|
2006-08-11 13:55:18 +00:00
|
|
|
char *gets(char *, int max);
|
|
|
|
unsigned int strlen(char *);
|
2006-08-12 11:38:57 +00:00
|
|
|
void * memset(void *dst, int c, unsigned int n);
|