projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
d26c924
)
Improve wording.
author
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 24 Mar 2007 01:26:18 +0000
(
01:26
+0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Sat, 24 Mar 2007 01:26:18 +0000
(
01:26
+0000)
From Godmar Back.
doc/userprog.texi
patch
|
blob
|
history
diff --git
a/doc/userprog.texi
b/doc/userprog.texi
index 60a53ee09cc6d876cb562d64be4544689e4716fc..df25ed9ed474d0122ec52912fc0422c7c2155a44 100644
(file)
--- a/
doc/userprog.texi
+++ b/
doc/userprog.texi
@@
-658,15
+658,16
@@
of the rest.
@deftypefn {System Call} bool create (const char *@var{file}, unsigned @var{initial_size})
Creates a new file called @var{file} initially @var{initial_size} bytes
in size. Returns true if successful, false otherwise.
@deftypefn {System Call} bool create (const char *@var{file}, unsigned @var{initial_size})
Creates a new file called @var{file} initially @var{initial_size} bytes
in size. Returns true if successful, false otherwise.
-Opening the new file is a separate operation using the @code{open}
-system call.
+Creating a new file does not open it: opening the new file is a
+s
eparate operation which would require a @code{open} s
ystem call.
@end deftypefn
@deftypefn {System Call} bool remove (const char *@var{file})
Deletes the file called @var{file}. Returns true if successful, false
otherwise.
@end deftypefn
@deftypefn {System Call} bool remove (const char *@var{file})
Deletes the file called @var{file}. Returns true if successful, false
otherwise.
-A file may be removed regardless of whether it is open or closed
-(@pxref{Removing an Open File}, for more information).
+A file may be removed regardless of whether it is open or closed, and
+removing an open file does not close it. @xref{Removing an Open
+File}, for details.
@end deftypefn
@deftypefn {System Call} int open (const char *@var{file})
@end deftypefn
@deftypefn {System Call} int open (const char *@var{file})