# HG changeset patch # User bill@denney.ws # Date 1211141062 14400 # Node ID 02a7fe6907d2a3dc2b390819001f928582d4b9a4 # Parent 08125419efcb261a177f3f34940fd8c914f054db file-io.cc: added documentation diff -r 08125419efcb -r 02a7fe6907d2 src/ChangeLog --- 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 + + * file-io.cc (Ffgets, Fgets, Ffputs, Ffscanf): Doc fix (seealso). + 2008-05-20 Thomas Weber - * DLD-FUNCTIONS/rand.cc: Doc fix. + * DLD-FUNCTIONS/rand.cc (Frandn): Doc fix. 2008-05-20 David Bateman diff -r 08125419efcb -r 02a7fe6907d2 src/file-io.cc --- 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";