projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5dc8313
)
Clarification.
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 22 Dec 2005 20:47:21 +0000
(20:47 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 22 Dec 2005 20:47:21 +0000
(20:47 +0000)
doc/userprog.texi
patch
|
blob
|
history
diff --git
a/doc/userprog.texi
b/doc/userprog.texi
index ab6115ce6c67b348a40f5eb1c7e9707c8e1d29c9..c4bd9e137bd2c93d4b4c47494d0a581f616d299f 100644
(file)
--- a/
doc/userprog.texi
+++ b/
doc/userprog.texi
@@
-599,7
+599,7
@@
the program cannot load or run for any reason.
@deftypefn {System Call} int wait (pid_t @var{pid})
Waits for process @var{pid} to die and returns the status it passed to
@code{exit}. Returns -1 if @var{pid}
@deftypefn {System Call} int wait (pid_t @var{pid})
Waits for process @var{pid} to die and returns the status it passed to
@code{exit}. Returns -1 if @var{pid}
-was terminated by the kernel (
i.e
.@: killed due to an exception). If
+was terminated by the kernel (
e.g
.@: killed due to an exception). If
@var{pid} is does not refer to a child of the
calling thread, or if @code{wait} has already been successfully
called for the given @var{pid}, returns -1 immediately, without
@var{pid} is does not refer to a child of the
calling thread, or if @code{wait} has already been successfully
called for the given @var{pid}, returns -1 immediately, without