projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Suggestion from Godmar Back.
[pintos-anon]
/
src
/
tests
/
userprog
/
write-stdin.c
diff --git
a/src/tests/userprog/write-stdin.c
b/src/tests/userprog/write-stdin.c
index 9c42bd204d53feb71259a5f9f0f7769c713d38f0..491ea5380d8d23aeed355f7fcfba66cd495675d9 100644
(file)
--- a/
src/tests/userprog/write-stdin.c
+++ b/
src/tests/userprog/write-stdin.c
@@
-1,3
+1,7
@@
+/* Try writing to fd 0 (stdin),
+ which may just fail or terminate the process with -1 exit
+ code. */
+
#include <syscall.h>
#include "tests/lib.h"
#include "tests/main.h"