File system project updates:
[pintos-anon] / src / lib / user / syscall.c
index 858b77c7d45d47ef7aca231f921ce88f5a257c6f..a9c5bc8500c517f58169a52c1dee5f1b78a3edff 100644 (file)
@@ -176,3 +176,9 @@ isdir (int fd)
 {
   return syscall1 (SYS_ISDIR, fd);
 }
+
+int
+inumber (int fd) 
+{
+  return syscall1 (SYS_INUMBER, fd);
+}