GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
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 "interpreter.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 (octave::interpreter &interp, const octave_value_list &args, int) ar
 
 fputs (in, "these\re\ome\trings\)
 
 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()

elseif ( errno()  = =EAGAIN)

◆ fclear()

fclear ( out  )

◆ fclose()

fclose ( in  )

◆ Fdup2()

OCTAVE_EXPORT octave_value_list Fdup2 ( octave::interpreter interp,
const octave_value_list args,
int   
)

◆ fputs()

fputs ( in  ,
"these\\e\ings\   
)

◆ if()

if ( ischar(s )

◆ mk_stat_map()

◆ mk_stat_result()

static octave_value_list mk_stat_result ( const octave::sys::base_file_stat fs)
static

Definition at line 101 of file syscalls.cc.

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

◆ until()

endif until ( done  )

◆ waitpid()

waitpid ( pid  )

Referenced by octave_waitpid_wrapper().

Variable Documentation

◆ done

◆ EAGAIN

EAGAIN = errno ("EAGAIN")

Definition at line 251 of file syscalls.cc.

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

◆ ode

unlike ode {popen}

Definition at line 251 of file syscalls.cc.

◆ ospell

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 251 of file syscalls.cc.

◆ rint

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

Definition at line 251 of file syscalls.cc.

◆ s

s = fgets (out)

Definition at line 251 of file syscalls.cc.