diff src/file-io.cc @ 7781:02a7fe6907d2

file-io.cc: added documentation
author bill@denney.ws
date Sun, 18 May 2008 16:04:22 -0400
parents a2d9f325b65a
children f336dd8e96d0
line wrap: on
line diff
--- 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";