projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace lsdir system call by readdir, isdir system calls,
[pintos-anon]
/
src
/
lib
/
syscall-nr.h
diff --git
a/src/lib/syscall-nr.h
b/src/lib/syscall-nr.h
index ef57c7885c17db537d94a9503d38686b314d9696..eb1e0ee907dd62d22265d90e0e9e38db8b51f067 100644
(file)
--- a/
src/lib/syscall-nr.h
+++ b/
src/lib/syscall-nr.h
@@
-26,7
+26,8
@@
enum
/* Project 4 only. */
SYS_CHDIR, /* Change the current directory. */
SYS_MKDIR, /* Create a directory. */
/* Project 4 only. */
SYS_CHDIR, /* Change the current directory. */
SYS_MKDIR, /* Create a directory. */
- SYS_LSDIR /* List the current directory to stdout. */
+ SYS_READDIR, /* Reads a directory entry. */
+ SYS_ISDIR /* Tests if a fd represents a directory. */
};
#endif /* lib/syscall-nr.h */
};
#endif /* lib/syscall-nr.h */