changeset 7781:02a7fe6907d2

file-io.cc: added documentation
author bill@denney.ws
date Sun, 18 May 2008 16:04:22 -0400
parents 08125419efcb
children bfd8d804e6d3
files src/ChangeLog src/file-io.cc
diffstat 2 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun May 18 22:40:28 2008 +0200
+++ b/src/ChangeLog	Sun May 18 16:04:22 2008 -0400
@@ -1,6 +1,10 @@
+2008-05-20  Bill Denney  <bill@denney.ws>
+
+	* file-io.cc (Ffgets, Fgets, Ffputs, Ffscanf): Doc fix (seealso).
+
 2008-05-20  Thomas Weber  <thomas.weber.mail@gmail.com>
 
-	* DLD-FUNCTIONS/rand.cc: Doc fix.
+	* DLD-FUNCTIONS/rand.cc (Frandn): Doc fix.
 
 2008-05-20  David Bateman  <dbateman@free.fr>
 
--- a/src/file-io.cc	Sun May 18 22:40:28 2008 +0200
+++ b/src/file-io.cc	Sun May 18 16:04:22 2008 -0400
@@ -359,7 +359,7 @@
 character.\n\
 \n\
 If there are no more characters to read, @code{fgets} returns @minus{}1.\n\
-@seealso{fread, fscanf}\n\
+@seealso{fputs, fopen, fread, fscanf}\n\
 @end deftypefn")
 {
   static std::string who = "fgets";
@@ -617,7 +617,7 @@
 @noindent\n\
 however, conversions are currently only supported for @samp{native}\n\
 @samp{ieee-be}, and @samp{ieee-le} formats.\n\
-@seealso{fclose, fread, fseek}\n\
+@seealso{fclose, fgets, fputs, fread, fseek, ferror, fprintf, fscanf, ftell, fwrite}\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -925,6 +925,7 @@
 Write a string to a file with no formatting.\n\
 \n\
 Return a non-negative number on success and EOF on error.\n\
+@seealso{scanf, sscanf, fread, fprintf, fgets, fscanf}\n\
 @end deftypefn")
 {
   static std::string who = "fputs";
@@ -1072,7 +1073,7 @@
 See the Formatted Input section of the GNU Octave manual for a\n\
 complete description of the syntax of the template string.\n\
 @end ifclear\n\
-@seealso{scanf, sscanf, fread, fprintf}\n\
+@seealso{scanf, sscanf, fread, fprintf, fgets, fputs}\n\
 @end deftypefn")
 {
   static std::string who = "fscanf";