Add explanatory comments to userprog tests.
[pintos-anon] / src / tests / userprog / write-stdin.c
index 9c42bd204d53feb71259a5f9f0f7769c713d38f0..491ea5380d8d23aeed355f7fcfba66cd495675d9 100644 (file)
@@ -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"