2006-07-16 17:36:31 +02: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 kill(int);
|
|
|
|
int panic(char*);
|
|
|
|
int cons_puts(char*);
|
2006-08-08 21:58:06 +02:00
|
|
|
int exec(char *, char **);
|
|
|
|
int open(char *, int);
|
2006-08-08 20:07:37 +02:00
|
|
|
int mknod (char*,short,short,short);
|
2006-08-10 03:28:57 +02:00
|
|
|
int unlink (char*);
|
2006-08-12 06:33:50 +02:00
|
|
|
int fstat (int fd, struct stat *stat);
|
2006-08-13 04:12:44 +02:00
|
|
|
int link(char *, char *);
|
2006-08-14 05:00:13 +02:00
|
|
|
int mkdir(char *);
|
2006-08-20 01:41:34 +02:00
|
|
|
int chdir(char *);
|
2006-08-20 05:08:54 +02:00
|
|
|
int dup(int);
|
2006-08-23 03:09:24 +02:00
|
|
|
int getpid();
|
2006-08-24 04:44:41 +02:00
|
|
|
char *sbrk(int);
|
2006-08-12 13:38:57 +02:00
|
|
|
|
2006-08-20 01:41:34 +02:00
|
|
|
int stat(char *, struct stat *stat);
|
2006-07-16 17:36:31 +02:00
|
|
|
int puts(char*);
|
2006-07-16 18:00:03 +02:00
|
|
|
char* strcpy(char*, char*);
|
2006-08-23 03:09:24 +02:00
|
|
|
char *strchr(const char *s, char c);
|
|
|
|
int strcmp(const char *p, const char *q);
|
2006-08-10 03:28:57 +02:00
|
|
|
void printf(int fd, char *fmt, ...);
|
2006-08-11 15:55:18 +02:00
|
|
|
char *gets(char *, int max);
|
|
|
|
unsigned int strlen(char *);
|
2006-08-12 13:38:57 +02:00
|
|
|
void * memset(void *dst, int c, unsigned int n);
|
2006-08-24 21:24:36 +02:00
|
|
|
void *malloc(uint);
|
2006-08-24 04:44:41 +02:00
|
|
|
void free(void *);
|