From 8fa312febd3cbb63e0d2a45044be614f062f9690 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 27 Oct 2004 03:13:45 +0000 Subject: [PATCH] Clarifications. --- doc/userprog.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/userprog.texi b/doc/userprog.texi index 3293496..f70957f 100644 --- a/doc/userprog.texi +++ b/doc/userprog.texi @@ -520,7 +520,8 @@ isn't properly set up yet, this causes a page fault. @samp{system call!}.} Every reasonable program tries to make at least one system call -(@func{exit}) and most programs make more than that. The default +(@func{exit}) and most programs make more than that. Notably, +@func{printf} invokes the @code{write} system call. The default system call handler just prints @samp{system call!} and terminates the program. You'll have to implement 2-2 before you see anything more interesting. Until then, you can use @func{hex_dump} to convince -- 2.30.2