#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"
Go to the source code of this file.
Macros | |
#define | FSYSTEM_OPEN_STR "xdg-open " |
#define | STDIN_FILENO 1 |
Variables | |
static bool | Vpause_enabled = true |
#define FSYSTEM_OPEN_STR "xdg-open " |
bool drive_or_unc_share | ( | const std::string & | name | ) |
Definition at line 460 of file sysdep.cc.
References len, name, and octave::sys::u8_to_wstring().
Referenced by symbol_exist().
OCTAVE_EXPORT octave_value_list F__blas_version__ | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 1474 of file sysdep.cc.
References octave::sys::blas_version(), and ovl().
OCTAVE_EXPORT octave_value_list F__is_elevated_process__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 238 of file sysdep.cc.
References error(), ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list F__lapack_version__ | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 1483 of file sysdep.cc.
References octave::sys::lapack_version(), and ovl().
OCTAVE_EXPORT octave_value_list F__open_with_system_app__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 196 of file sysdep.cc.
References Fsystem(), FSYSTEM_OPEN_STR, octave_value(), ovl(), print_usage(), and octave::sys::u8_to_wstring().
OCTAVE_EXPORT octave_value_list F__wmemory__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 274 of file sysdep.cc.
References error(), ovl(), print_usage(), and octave_scalar_map::setfield().
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 | |||
) |
Definition at line 834 of file sysdep.cc.
References name, ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Fisieee | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 1370 of file sysdep.cc.
References octave::mach_info::flt_fmt_ieee_big_endian, octave::mach_info::flt_fmt_ieee_little_endian, octave::mach_info::native_float_format(), and ovl().
OCTAVE_EXPORT octave_value_list Fkbhit | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | |||
) |
Definition at line 1236 of file sysdep.cc.
References Fdrawnow(), kbhit(), and octave_value().
OCTAVE_EXPORT octave_value_list Fnative_float_format | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 1386 of file sysdep.cc.
References octave::mach_info::float_format_as_string(), octave::mach_info::native_float_format(), and ovl().
OCTAVE_EXPORT octave_value_list Fpause | ( | octave::interpreter & | interp, |
const octave_value_list & | args, | ||
int | nargout | ||
) |
Definition at line 1305 of file sysdep.cc.
References octave_value_list::append(), error(), Fdrawnow(), octave::math::isnan(), octave_value_list::length(), octave_Inf, print_usage(), sleep(), octave::state, Vpause_enabled, and warning().
OCTAVE_EXPORT octave_value_list Fsetenv | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 858 of file sysdep.cc.
References ovl(), and print_usage().
OCTAVE_EXPORT octave_value_list Ftilde_expand | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1423 of file sysdep.cc.
References octave_value::dims(), octave_value::iscellstr(), ovl(), print_usage(), octave::sys::file_ops::tilde_expand(), and octave_value::xstring_vector_value().
OCTAVE_EXPORT octave_value_list Funsetenv | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 894 of file sysdep.cc.
References ovl(), print_usage(), and octave::sys::unsetenv_wrapper().
OCTAVE_EXPORT octave_value_list Fwinqueryreg | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 1074 of file sysdep.cc.
References error(), ovl(), and print_usage().
std::string get_P_tmpdir | ( | void | ) |
Definition at line 766 of file sysdep.cc.
Referenced by FP_tmpdir().
Definition at line 722 of file sysdep.cc.
References ignore_interrupts(), raw_mode(), and set_interrupt_handler().
int pclose | ( | FILE * | f | ) |
FILE * popen | ( | const char * | command, |
const char * | mode | ||
) |
Definition at line 695 of file sysdep.cc.
References popen(), and octave::sys::u8_to_wstring().
Referenced by main(), procbuf::open(), and popen().
Definition at line 547 of file sysdep.cc.
References octave::__get_interpreter__(), ECHO, error(), application::forced_interactive(), interpreter::interactive(), octave_isatty_wrapper(), STDIN_FILENO, and warn_disabled_feature().
Referenced by kbhit().
bool same_file_internal | ( | const std::string & | file1, |
const std::string & | file2 | ||
) |
Definition at line 385 of file sysdep.cc.
References octave::sys::u8_to_wstring().
Referenced by same_file().
OCTAVE_NAMESPACE_BEGIN void set_application_id | ( | void | ) |
Definition at line 183 of file sysdep.cc.
Referenced by octave::qt_application::execute().
void sysdep_cleanup | ( | void | ) |
Definition at line 527 of file sysdep.cc.
Referenced by my_friendly_exit(), and interpreter::shutdown().
void sysdep_init | ( | void | ) |
Definition at line 509 of file sysdep.cc.
Referenced by octave::qt_application::qt_application(), and application::init().