summaryrefslogtreecommitdiff
path: root/fd.c
diff options
context:
space:
mode:
authorkaashoek <kaashoek>2006-08-20 03:08:54 +0000
committerkaashoek <kaashoek>2006-08-20 03:08:54 +0000
commit16083d4462b9a57ec1e1fc81cea73da9479982a5 (patch)
treecd20458cba2b461789ead3778c2b87de43fe976c /fd.c
parent8787cd01dfa6080d219f3dd7bbf03f3eb988a74e (diff)
downloadxv6-labs-16083d4462b9a57ec1e1fc81cea73da9479982a5.tar.gz
xv6-labs-16083d4462b9a57ec1e1fc81cea73da9479982a5.tar.bz2
xv6-labs-16083d4462b9a57ec1e1fc81cea73da9479982a5.zip
removed block system call
renumber system calls (run gmake clean!) skeleton for dup system call
Diffstat (limited to 'fd.c')
-rw-r--r--fd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/fd.c b/fd.c
index e61cab2..7de4d55 100644
--- a/fd.c
+++ b/fd.c
@@ -149,3 +149,9 @@ fd_incref(struct fd *fd)
fd->ref++;
release(&fd_table_lock);
}
+
+int
+fd_dup(struct fd *fd)
+{
+ return -1;
+}