diff options
author | rsc <rsc> | 2007-08-28 04:22:35 +0000 |
---|---|---|
committer | rsc <rsc> | 2007-08-28 04:22:35 +0000 |
commit | 7834cca60426ea156822ba05d702cf56a914467d (patch) | |
tree | 31b30e67a8df5e70fc5605abc6dac0912f489f20 /pipe.c | |
parent | 76f09d7dd00f84bf69f7b83983c3b4843223f616 (diff) | |
download | xv6-labs-7834cca60426ea156822ba05d702cf56a914467d.tar.gz xv6-labs-7834cca60426ea156822ba05d702cf56a914467d.tar.bz2 xv6-labs-7834cca60426ea156822ba05d702cf56a914467d.zip |
remove _ from pipe; be like file
Diffstat (limited to 'pipe.c')
-rw-r--r-- | pipe.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -18,7 +18,7 @@ struct pipe { }; int -pipe_alloc(struct file **f0, struct file **f1) +pipealloc(struct file **f0, struct file **f1) { struct pipe *p; @@ -58,7 +58,7 @@ pipe_alloc(struct file **f0, struct file **f1) } void -pipe_close(struct pipe *p, int writable) +pipeclose(struct pipe *p, int writable) { acquire(&p->lock); if(writable){ @@ -76,7 +76,7 @@ pipe_close(struct pipe *p, int writable) //PAGEBREAK: 20 int -pipe_write(struct pipe *p, char *addr, int n) +pipewrite(struct pipe *p, char *addr, int n) { int i; @@ -99,7 +99,7 @@ pipe_write(struct pipe *p, char *addr, int n) } int -pipe_read(struct pipe *p, char *addr, int n) +piperead(struct pipe *p, char *addr, int n) { int i; |