xv6-cs450/user.h

28 lines
671 B
C
Raw Normal View History

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*);
int exec(char *, char **);
int open(char *, int);
2006-08-08 20:07:37 +02:00
int mknod (char*,short,short,short);
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 *);
int stat(char *, struct stat *stat);
int puts(char*);
2006-07-16 18:00:03 +02:00
char* strcpy(char*, char*);
void printf(int fd, char *fmt, ...);
char *gets(char *, int max);
unsigned int strlen(char *);
void * memset(void *dst, int c, unsigned int n);