GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
sysdep.cc File Reference
#include <cmath>
#include <cstddef>
#include <iostream>
#include <string>
#include "cmd-edit.h"
#include "file-ops.h"
#include "lo-mappers.h"
#include "lo-sysinfo.h"
#include "mach-info.h"
#include "oct-env.h"
#include "uniconv-wrappers.h"
#include "unistd-wrappers.h"
#include "builtin-defun-decls.h"
#include "Cell.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
#include "input.h"
#include "interpreter-private.h"
#include "octave.h"
#include "ov.h"
#include "ovl.h"
#include "pager.h"
#include "parse.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "interpreter.h"
#include "utils.h"
#include "file-stat.h"
Include dependency graph for sysdep.cc:

Go to the source code of this file.

Namespaces

 octave
 

Macros

#define FSYSTEM_OPEN_STR   "xdg-open "
 
#define STDIN_FILENO   1
 

Functions

bool octave::drive_or_unc_share (const std::string &name)
 
OCTAVE_EXPORT octave_value_list F__blas_version__ (const octave_value_list &, int)
 
OCTAVE_EXPORT octave_value_list F__is_elevated_process__ (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list F__lapack_version__ (const octave_value_list &, int)
 
OCTAVE_EXPORT octave_value_list F__open_with_system_app__ (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fclc (const octave_value_list &, int)
 
OCTAVE_EXPORT octave_value_list Fget_home_directory (const octave_value_list &, int)
 
OCTAVE_EXPORT octave_value_list Fgetenv (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fisieee (const octave_value_list &, int)
 
OCTAVE_EXPORT octave_value_list Fkbhit (octave::interpreter &interp, const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fnative_float_format (const octave_value_list &, int)
 
OCTAVE_EXPORT octave_value_list Fpause (octave::interpreter &interp, const octave_value_list &args, int nargout)
 
OCTAVE_EXPORT octave_value_list Fsetenv (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Ftilde_expand (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Funsetenv (const octave_value_list &args, int)
 
OCTAVE_EXPORT octave_value_list Fwinqueryreg (const octave_value_list &args, int)
 
std::string octave::get_P_tmpdir (void)
 
int octave::kbhit (bool wait)
 
int octave::pclose (FILE *f)
 
FILE * octave::popen (const char *command, const char *mode)
 
void octave::raw_mode (bool on, bool wait)
 
bool octave::same_file_internal (const std::string &file1, const std::string &file2)
 
void octave::set_application_id (void)
 
void octave::sysdep_cleanup (void)
 
void octave::sysdep_init (void)
 

Variables

static bool Vpause_enabled = true
 

Macro Definition Documentation

◆ FSYSTEM_OPEN_STR

#define FSYSTEM_OPEN_STR   "xdg-open "

◆ STDIN_FILENO

#define STDIN_FILENO   1

Definition at line 92 of file sysdep.cc.

Function Documentation

◆ F__blas_version__()

OCTAVE_EXPORT octave_value_list F__blas_version__ ( const octave_value_list ,
int   
)

Definition at line 1406 of file sysdep.cc.

References octave::sys::blas_version(), and ovl().

◆ F__is_elevated_process__()

OCTAVE_EXPORT octave_value_list F__is_elevated_process__ ( const octave_value_list args,
int   
)

Definition at line 255 of file sysdep.cc.

References error(), ovl(), print_usage(), and retval.

◆ F__lapack_version__()

OCTAVE_EXPORT octave_value_list F__lapack_version__ ( const octave_value_list ,
int   
)

Definition at line 1415 of file sysdep.cc.

References octave::sys::lapack_version(), and ovl().

◆ F__open_with_system_app__()

OCTAVE_EXPORT octave_value_list F__open_with_system_app__ ( const octave_value_list args,
int   
)

◆ Fclc()

OCTAVE_EXPORT octave_value_list Fclc ( const octave_value_list ,
int   
)

Definition at line 742 of file sysdep.cc.

References octave::command_editor::clear_screen(), and ovl().

◆ Fget_home_directory()

OCTAVE_EXPORT octave_value_list Fget_home_directory ( const octave_value_list ,
int   
)

Definition at line 1390 of file sysdep.cc.

References octave::sys::env::get_home_directory(), and ovl().

◆ Fgetenv()

OCTAVE_EXPORT octave_value_list Fgetenv ( const octave_value_list args,
int   
)

Definition at line 767 of file sysdep.cc.

References octave::sys::env::getenv(), name, ovl(), and print_usage().

◆ Fisieee()

◆ Fkbhit()

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

Definition at line 1166 of file sysdep.cc.

References Fdrawnow(), octave::kbhit(), and octave_value().

◆ Fnative_float_format()

OCTAVE_EXPORT octave_value_list Fnative_float_format ( const octave_value_list ,
int   
)

◆ Fpause()

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

◆ Fsetenv()

OCTAVE_EXPORT octave_value_list Fsetenv ( const octave_value_list args,
int   
)

Definition at line 791 of file sysdep.cc.

References ovl(), print_usage(), and octave::sys::env::putenv().

◆ Ftilde_expand()

◆ Funsetenv()

OCTAVE_EXPORT octave_value_list Funsetenv ( const octave_value_list args,
int   
)

Definition at line 827 of file sysdep.cc.

References ovl(), print_usage(), and octave::sys::unsetenv_wrapper().

◆ Fwinqueryreg()

OCTAVE_EXPORT octave_value_list Fwinqueryreg ( const octave_value_list args,
int   
)

Definition at line 1004 of file sysdep.cc.

References error(), ovl(), print_usage(), and retval.

Variable Documentation

◆ Vpause_enabled

bool Vpause_enabled = true
static

Definition at line 1183 of file sysdep.cc.

Referenced by Fpause().