GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
syscalls.cc File Reference
#include <ctime>
#include <cstdio>
#include <cstring>
#include "cmd-hist.h"
#include "fcntl-wrappers.h"
#include "file-ops.h"
#include "file-stat.h"
#include "lo-utils.h"
#include "oct-env.h"
#include "oct-syscalls.h"
#include "oct-uname.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "oct-hist.h"
#include "oct-map.h"
#include "ovl.h"
#include "oct-stdstrm.h"
#include "oct-stream.h"
#include "sysdep.h"
#include "utils.h"
#include "variables.h"
#include "input.h"
Include dependency graph for syscalls.cc:

Go to the source code of this file.

Functions

 elseif (errno()==EAGAIN) pause(0.1)
 
 fclear (out)
 
 fclose (in)
 
OCTAVE_EXPORT octave_value_list Fdup2 (const octave_value_list &args, int) ar
 
 fputs (in,"these\nare\nsome\nstrings\n")
 
 if (ischar(s)) fputs(stdout
 
static octave_scalar_map mk_stat_map (const octave::sys::base_file_stat &fs)
 
static octave_value_list mk_stat_result (const octave::sys::base_file_stat &fs)
 
endif until (done) fclose(out)
 
 waitpid (pid)
 

Variables

 done = false
 
 EAGAIN = errno ("EAGAIN")
 
unlike ode {popen}
 
unlike will not ospell {"reap"} the child process. If you don't use @code{waitpid} to check the child's exit status
 
 rint {} these rint{} strings rint{} some rint{} are nd example Note that ode{popen2}
 
do s = fgets (out)
 

Function Documentation

elseif ( errno()  = =EAGAIN)
fclear ( out  )
fclose ( in  )
OCTAVE_EXPORT octave_value_list Fdup2 ( const octave_value_list args,
int   
)
fputs ( in  ,
"these\nare\nsome\nstrings\n"   
)
if ( ischar(s )
static octave_scalar_map mk_stat_map ( const octave::sys::base_file_stat fs)
static
static octave_value_list mk_stat_result ( const octave::sys::base_file_stat fs)
static

Definition at line 100 of file syscalls.cc.

References octave::sys::base_file_stat::error(), mk_stat_map(), and ovl().

endif until ( done  )
waitpid ( pid  )

Referenced by octave_waitpid_wrapper().

Variable Documentation

else done = false
EAGAIN = errno ("EAGAIN")

Definition at line 248 of file syscalls.cc.

Referenced by octave_errno::octave_errno(), and run_command_and_return_output().

unlike ode {popen}

Definition at line 248 of file syscalls.cc.

unlike will not ospell {"reap"} the child process. If you don't use @code{waitpid} to check the child's exit status

Definition at line 248 of file syscalls.cc.

rint {} these rint{} strings rint{} some rint{} are nd example Note that ode{popen2}

Definition at line 248 of file syscalls.cc.

s = fgets (out)

Definition at line 248 of file syscalls.cc.