Mercurial > hg > Members > menikon > CbC_xv6
comparison src/defs.h @ 95:0ddcd561d975
fix make error
author | tobaru |
---|---|
date | Mon, 04 Nov 2019 17:24:00 +0900 |
parents | fb3e5a2f76c1 |
children |
comparison
equal
deleted
inserted
replaced
94:0956648d24e5 | 95:0ddcd561d975 |
---|---|
68 // file.c | 68 // file.c |
69 struct file* filealloc(void); | 69 struct file* filealloc(void); |
70 void fileclose(struct file*); | 70 void fileclose(struct file*); |
71 struct file* filedup(struct file*); | 71 struct file* filedup(struct file*); |
72 void fileinit(void); | 72 void fileinit(void); |
73 __code cbc_fileread (struct file*, char*, int, __code (*)(int)); | |
74 int fileread(struct file*, char*, int n); | 73 int fileread(struct file*, char*, int n); |
75 int filestat(struct file*, struct stat*); | 74 int filestat(struct file*, struct stat*); |
76 int filewrite(struct file*, char*, int n); | 75 int filewrite(struct file*, char*, int n); |
77 | 76 |
78 // fs.c | 77 // fs.c |
119 | 118 |
120 // pipe.c | 119 // pipe.c |
121 int pipealloc(struct file**, struct file**); | 120 int pipealloc(struct file**, struct file**); |
122 void pipeclose(struct pipe*, int); | 121 void pipeclose(struct pipe*, int); |
123 int piperead(struct pipe*, char*, int); | 122 int piperead(struct pipe*, char*, int); |
124 __code cbc_piperead(struct pipe*, char*, int, __code (*)(int)); | |
125 int pipewrite(struct pipe*, char*, int); | 123 int pipewrite(struct pipe*, char*, int); |
126 | 124 |
127 //PAGEBREAK: 16 | 125 //PAGEBREAK: 16 |
128 // proc.c | 126 // proc.c |
129 struct proc* copyproc(struct proc*); | 127 struct proc* copyproc(struct proc*); |