GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
toplev.cc File Reference
#include <cerrno>
#include <cstdlib>
#include <new>
#include <sstream>
#include <string>
#include "async-system-wrapper.h"
#include "child-list.h"
#include "lo-error.h"
#include "oct-fftw.h"
#include "oct-locbuf.h"
#include "oct-syscalls.h"
#include "signal-wrappers.h"
#include "str-vec.h"
#include "wait-for-input.h"
#include "build-env.h"
#include "liboctinterp-build-info.h"
#include "defaults.h"
#include "defun.h"
#include "error.h"
#include "help.h"
#include "interpreter-private.h"
#include "octave.h"
#include "oct-map.h"
#include "ovl.h"
#include "ov.h"
#include "pager.h"
#include "procstream.h"
#include "sysdep.h"
#include "unwind-prot.h"
#include "utils.h"
#include "version.h"

Go to the source code of this file.

Macros

#define SHELL_PATH   "/bin/sh"
 
#define STRINGIFY(s)   STRINGIFY1(s)
 
#define STRINGIFY1(s)   #s
 

Enumerations

enum  system_exec_type { et_sync , et_async }
 

Functions

octave_value_list F__octave_config_info__ (const octave_value_list &args, int)
 
octave_value_list Fsystem (const octave_value_list &args, int nargout)
 
octave_value_list Fwarranty (const octave_value_list &, int)
 

Macro Definition Documentation

◆ SHELL_PATH

#define SHELL_PATH   "/bin/sh"

Definition at line 71 of file toplev.cc.

◆ STRINGIFY

#define STRINGIFY (   s)    STRINGIFY1(s)

Definition at line 76 of file toplev.cc.

◆ STRINGIFY1

#define STRINGIFY1 (   s)    #s

Definition at line 77 of file toplev.cc.

Enumeration Type Documentation

◆ system_exec_type

Enumerator
et_sync 
et_async 

Definition at line 180 of file toplev.cc.

Function Documentation

◆ F__octave_config_info__()

octave_value_list F__octave_config_info__ ( const octave_value_list args,
int   
)

Definition at line 352 of file toplev.cc.

References AMD_CPPFLAGS, AMD_LDFLAGS, AMD_LIBS, AR, arch_lib_dir(), ARFLAGS, ARPACK_CPPFLAGS, ARPACK_LDFLAGS, ARPACK_LIBS, octave_scalar_map::assign(), bin_dir(), BLAS_LIBS, CAMD_CPPFLAGS, CAMD_LDFLAGS, CAMD_LIBS, canonical_host_type(), CARBON_LIBS, CC, CCOLAMD_CPPFLAGS, CCOLAMD_LDFLAGS, CCOLAMD_LIBS, CFLAGS, CHOLMOD_CPPFLAGS, CHOLMOD_LDFLAGS, CHOLMOD_LIBS, COLAMD_CPPFLAGS, COLAMD_LDFLAGS, COLAMD_LIBS, config_opts, CPICFLAG, CPPFLAGS, CURL_CPPFLAGS, CURL_LDFLAGS, CURL_LIBS, CXSPARSE_CPPFLAGS, CXSPARSE_LDFLAGS, CXSPARSE_LIBS, CXX, CXXCPP, CXXFLAGS, CXXPICFLAG, data_dir(), dataroot_dir(), default_pager(), DEFS, DL_LDFLAGS, EXEEXT, F77, F77_FLOAT_STORE_FLAG, F77_INTEGER_8_FLAG, fcn_file_dir(), features(), FFLAGS, FFTW3_CPPFLAGS, FFTW3_LDFLAGS, FFTW3_LIBS, FFTW3F_CPPFLAGS, FFTW3F_LDFLAGS, FFTW3F_LIBS, fftw_version(), fftwf_version(), FLIBS, float_format_as_string(), FLTK_CPPFLAGS, FLTK_LDFLAGS, FLTK_LIBS, FONTCONFIG_CPPFLAGS, FONTCONFIG_LIBS, FPICFLAG, FT2_CPPFLAGS, FT2_LIBS, GCC_VERSION, GLPK_CPPFLAGS, GLPK_LDFLAGS, GLPK_LIBS, GNUPLOT, GXX_VERSION, HDF5_CPPFLAGS, HDF5_LDFLAGS, HDF5_LIBS, image_dir(), include_dir(), info_dir(), LAPACK_LIBS, LD_STATIC_FLAG, LDFLAGS, LEX, LEXLIB, LFLAGS, lib_dir(), libexec_dir(), LIBOCTAVE, LIBOCTINTERP, liboctinterp_hg_id(), LIBS, LN_S, local_api_arch_lib_dir(), local_api_fcn_file_dir(), local_api_oct_file_dir(), local_arch_lib_dir(), local_fcn_file_dir(), local_oct_file_dir(), local_startupfile_dir(), local_ver_arch_lib_dir(), local_ver_fcn_file_dir(), local_ver_oct_file_dir(), MAGICK_CPPFLAGS, MAGICK_LDFLAGS, MAGICK_LIBS, man1_dir(), man1_ext(), man_dir(), MKOCTFILE_DL_LDFLAGS, native_float_format(), oct_data_dir(), oct_doc_dir(), oct_etc_dir(), oct_file_dir(), oct_fonts_dir(), oct_include_dir(), oct_lib_dir(), OCT_LINK_DEPS, OCT_LINK_OPTS, oct_tests_dir(), OCTAVE_API_VERSION, OCTAVE_LINK_DEPS, OCTAVE_LINK_OPTS, OCTAVE_MAJOR_VERSION, OCTAVE_MINOR_VERSION, OCTAVE_PATCH_VERSION, OCTAVE_RELEASE_DATE, OCTAVE_VERSION, OPENGL_LIBS, PCRE_CPPFLAGS, PCRE_LDFLAGS, PCRE_LIBS, print_usage(), PTHREAD_CFLAGS, PTHREAD_LIBS, QHULL_CPPFLAGS, QHULL_LDFLAGS, QHULL_LIBS, QRUPDATE_CPPFLAGS, QRUPDATE_LDFLAGS, QRUPDATE_LIBS, QT_CPPFLAGS, QT_LDFLAGS, QT_LIBS, RANLIB, RDYNAMIC_FLAG, READLINE_LIBS, SH_LDFLAGS, SHARED_LIBS, startupfile_dir(), STATIC_LIBS, STRINGIFY, SUITESPARSECONFIG_LIBS, UMFPACK_CPPFLAGS, UMFPACK_LDFLAGS, UMFPACK_LIBS, WARN_CFLAGS, WARN_CXXFLAGS, words_big_endian(), words_little_endian(), X11_INCFLAGS, X11_LIBS, XTRA_CFLAGS, XTRA_CXXFLAGS, YACC, YFLAGS, Z_CPPFLAGS, Z_LDFLAGS, and Z_LIBS.

◆ Fsystem()

octave_value_list Fsystem ( const octave_value_list args,
int  nargout 
)

Definition at line 240 of file toplev.cc.

References error(), et_async, et_sync, and print_usage().

Referenced by octave::F__open_with_system_app__().

◆ Fwarranty()

octave_value_list Fwarranty ( const octave_value_list ,
int   
)

Definition at line 83 of file toplev.cc.

References octave_name_version_and_copyright(), octave_stdout, and ovl().