From: Ben Pfaff Date: Thu, 22 Dec 2005 20:47:21 +0000 (+0000) Subject: Clarification. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0450759c86862c1aae5fb8416630b1eb89302046;p=pintos-anon Clarification. --- diff --git a/doc/userprog.texi b/doc/userprog.texi index ab6115c..c4bd9e1 100644 --- 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} -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