Mercurial > hg > octave-lyh
diff src/file-io.cc @ 7001:8b0cfeb06365
[project @ 2007-10-10 18:02:59 by jwe]
author | jwe |
---|---|
date | Wed, 10 Oct 2007 18:03:02 +0000 |
parents | aee959a21c4b |
children | 93c65f2a5668 |
line wrap: on
line diff
--- a/src/file-io.cc +++ b/src/file-io.cc @@ -539,7 +539,7 @@ Open a file for reading.\n\ \n\ @item @samp{w}\n\ -Open a file for writing. The previous contents are discared.\n\ +Open a file for writing. The previous contents are discarded.\n\ \n\ @item @samp{a}\n\ Open or create a file for writing at the end of the file.\n\ @@ -1874,7 +1874,7 @@ the function @code{purge_tmp_files} is called.\n\ \n\ If successful, @var{fid} is a valid file ID, @var{name} is the name of\n\ -the file, and and @var{msg} is an empty string. Otherwise, @var{fid}\n\ +the file, and @var{msg} is an empty string. Otherwise, @var{fid}\n\ is -1, @var{name} is empty, and @var{msg} contains a system-dependent\n\ error message.\n\ @seealso{tmpfile, tmpnam, P_tmpdir}\n\