projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
93a1d05
)
Fix description of remove() and create() return values.
author
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 22 Oct 2004 16:31:59 +0000
(16:31 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 22 Oct 2004 16:31:59 +0000
(16:31 +0000)
doc/userprog.texi
patch
|
blob
|
history
diff --git
a/doc/userprog.texi
b/doc/userprog.texi
index d96d02d62bb1ce6387749ae066ffc41d98f0cf11..38810e72f4c3bab38e960a6ab6d6cef0145b642f 100644
(file)
--- 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
@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})
@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})
@item SYS_open
@itemx int open (const char *@var{file})