From: Ben Pfaff <blp@cs.stanford.edu>
Date: Fri, 22 Oct 2004 16:31:59 +0000 (+0000)
Subject: Fix description of remove() and create() return values.
X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9490e43447da80e36d37adc432494238997009e;p=pintos-anon

Fix description of remove() and create() return values.
---

diff --git a/doc/userprog.texi b/doc/userprog.texi
index d96d02d..38810e7 100644
--- a/doc/userprog.texi
+++ b/doc/userprog.texi
@@ -358,11 +358,12 @@ be disrupted).
 @item SYS_create
 @itemx bool create (const char *@var{file}, unsigned @var{initial_size})
 Create a new file called @var{file} initially @var{initial_size} bytes
-in size.  Returns -1 if failed, 0 if OK.
+in size.  Returns true if successful, false otherwise.
 
 @item SYS_remove
 @itemx bool remove (const char *@var{file})
-Delete the file called @var{file}.  Returns -1 if failed, 0 if OK.
+Delete the file called @var{file}.  Returns true if successful, false
+otherwise.
 
 @item SYS_open
 @itemx int open (const char *@var{file})