summaryrefslogtreecommitdiff
path: root/defs.h
diff options
context:
space:
mode:
authorkaashoek <kaashoek>2006-08-09 16:04:04 +0000
committerkaashoek <kaashoek>2006-08-09 16:04:04 +0000
commit6fa5ffb56ffdbe5a37bfc04d063fbff2bf929c27 (patch)
tree7a06e4e145812109fcec97aec32c135632481edf /defs.h
parent6c0e444fcdf7ba21442513acbc69c7fca9def06b (diff)
downloadxv6-labs-6fa5ffb56ffdbe5a37bfc04d063fbff2bf929c27.tar.gz
xv6-labs-6fa5ffb56ffdbe5a37bfc04d063fbff2bf929c27.tar.bz2
xv6-labs-6fa5ffb56ffdbe5a37bfc04d063fbff2bf929c27.zip
devsw
checkpoint: write(fd,"hello\n",6) where fd is a console dev almost works
Diffstat (limited to 'defs.h')
-rw-r--r--defs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/defs.h b/defs.h
index 30b803d..728b2a4 100644
--- a/defs.h
+++ b/defs.h
@@ -109,4 +109,5 @@ void idecref(struct inode *ip);
void iput(struct inode *ip);
struct inode * namei(char *path);
int readi(struct inode *ip, void *xdst, uint off, uint n);
+int writei(struct inode *ip, void *addr, uint n);
struct inode *mknod(struct inode *, char *, short, short, short);