diff libinterp/corefcn/syscalls.cc @ 19109:e90bfaadb489

doc: Increase seealso links between low level C IO functions. * file-io.cc (Ffclose, Ffclear, Ffflush, Ffrewind, Ffseek, Fftell, Ffprintf, Fpclose, Ftmpfile, Fmkstemp, Fumask, FP_tmpdir, FSEEK_SET): Increase seealso links between low level C IO functions. Redo some docstrings. * syscalls.cc (Fdup2, Ffcntl): Increase seealso links between low level C IO functions. Redo some docstrings. * is_valid_file_id.m: Add seealso link to freport.
author Rik <rik@octave.org>
date Sat, 20 Sep 2014 12:56:47 -0700
parents b560bac0fca2
children 0f9c5a15c8fa
line wrap: on
line diff
--- a/libinterp/corefcn/syscalls.cc	Sat Sep 20 15:18:25 2014 -0400
+++ b/libinterp/corefcn/syscalls.cc	Sat Sep 20 12:56:47 2014 -0700
@@ -117,6 +117,7 @@
 If successful, @var{fid} is greater than zero and contains the new file\n\
 ID@.  Otherwise, @var{fid} is negative and @var{msg} contains a\n\
 system-dependent error message.\n\
+@seealso{fopen, fclose, fcntl}\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -448,8 +449,9 @@
 DEFUNX ("fcntl", Ffcntl, args, ,
         "-*- texinfo -*-\n\
 @deftypefn {Built-in Function} {[@var{err}, @var{msg}] =} fcntl (@var{fid}, @var{request}, @var{arg})\n\
-Change the properties of the open file @var{fid}.  The following values\n\
-may be passed as @var{request}:\n\
+Change the properties of the open file @var{fid}.\n\
+\n\
+The following values may be passed as @var{request}:\n\
 \n\
 @vtable @code\n\
 @item F_DUPFD\n\
@@ -500,6 +502,7 @@
 If successful, @var{err} is 0 and @var{msg} is an empty string.\n\
 Otherwise, @var{err} is nonzero and @var{msg} contains a\n\
 system-dependent error message.\n\
+@seealso{fopen, dup2}\n\
 @end deftypefn")
 {
   octave_value_list retval;
@@ -1959,3 +1962,4 @@
 {
   return const_value (args, WCONTINUE);
 }
+