From: Ben Pfaff 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=13f46d6f8d9ebed7949ab8e20b9239b812243316;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})