From: Ben Pfaff Date: Thu, 22 Dec 2005 20:51:30 +0000 (+0000) Subject: Clarification. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8318a6f4996f8aedd6015183bd373232d5a105b9;p=pintos-anon Clarification. --- diff --git a/doc/userprog.texi b/doc/userprog.texi index d401fda..7f50192 100644 --- a/doc/userprog.texi +++ b/doc/userprog.texi @@ -683,7 +683,8 @@ actual number written, or -1 if no bytes could be written at all. Fd 1 writes to the console. Your code to write to the console should write all of @var{buffer} in one call to @func{putbuf}, at least as -long as @var{size} is not bigger than a few hundred bytes. Otherwise, +long as @var{size} is not bigger than a few hundred bytes. (It is +reasonable to break up larger buffers.) Otherwise, lines of text output by different processes may end up interleaved on the console, confusing both human readers and our grading scripts.