projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
On newer systems -ltinfo needs to be explicitly added to the link flags
[pintos-anon]
/
src
/
tests
/
userprog
/
read-zero.c
diff --git
a/src/tests/userprog/read-zero.c
b/src/tests/userprog/read-zero.c
index db9d206d3dcee050b078757d26538e5feaab28fb..e441817d13f8b0c4f969d49489de95bb748b050d 100644
(file)
--- a/
src/tests/userprog/read-zero.c
+++ b/
src/tests/userprog/read-zero.c
@@
-1,3
+1,6
@@
+/* Try a 0-byte read, which should return 0 without reading
+ anything. */
+
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"