GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cfloat>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <string>
#include <sys/types.h>
#include <unistd.h>
#include "cmd-edit.h"
#include "file-ops.h"
#include "lo-mappers.h"
#include "lo-math.h"
#include "mach-info.h"
#include "oct-env.h"
#include "quit.h"
#include "Cell.h"
#include "builtins.h"
#include "defun.h"
#include "display.h"
#include "error.h"
#include "input.h"
#include "oct-obj.h"
#include "ov.h"
#include "pager.h"
#include "parse.h"
#include "sighandlers.h"
#include "sysdep.h"
#include "toplev.h"
#include "utils.h"
#include "file-stat.h"
Go to the source code of this file.
OCTAVE_EXPORT octave_value_list F__open_with_system_app__ | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 192 of file sysdep.cc.
References error(), error_state, Fsystem(), ovl(), print_usage(), and octave_value::string_value().
OCTAVE_EXPORT octave_value_list Fclc | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 588 of file sysdep.cc.
References command_editor::clear_screen().
OCTAVE_EXPORT octave_value_list Fget_home_directory | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 1035 of file sysdep.cc.
References octave_env::get_home_directory(), and octave_value().
OCTAVE_EXPORT octave_value_list Fgetenv | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 613 of file sysdep.cc.
References error_state, octave_env::getenv(), octave_value::length(), and print_usage().
OCTAVE_EXPORT octave_value_list Fhave_window_system | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 1057 of file sysdep.cc.
References display_info::display_available(), and octave_value().
OCTAVE_EXPORT octave_value_list Fisieee | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 938 of file sysdep.cc.
References oct_mach_info::flt_fmt_ieee_big_endian, oct_mach_info::flt_fmt_ieee_little_endian, oct_mach_info::native_float_format(), and octave_value().
OCTAVE_EXPORT octave_value_list Fkbhit | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 747 of file sysdep.cc.
References DEFUN, Fdrawnow(), interactive, and octave_kbhit().
OCTAVE_EXPORT octave_value_list Fnative_float_format | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 954 of file sysdep.cc.
References oct_mach_info::float_format_as_string(), oct_mach_info::native_float_format(), and octave_value().
OCTAVE_EXPORT octave_value_list Fpause | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 792 of file sysdep.cc.
References error_state, Fdrawnow(), flush_octave_stdout(), octave_value::length(), octave_kbhit(), octave_sleep(), print_usage(), warning(), xisinf(), and xisnan().
OCTAVE_EXPORT octave_value_list Fsetenv | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 646 of file sysdep.cc.
References error(), error_state, octave_value_list::length(), print_usage(), and octave_env::putenv().
OCTAVE_EXPORT octave_value_list Fsleep | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 848 of file sysdep.cc.
References error_state, Fdrawnow(), octave_sleep(), print_usage(), warning(), and xisnan().
OCTAVE_EXPORT octave_value_list Ftilde_expand | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 987 of file sysdep.cc.
References octave_value::all_strings(), arg(), octave_value::dims(), error(), error_state, octave_value::is_cellstr(), octave_value::length(), print_usage(), and file_ops::tilde_expand().
OCTAVE_EXPORT octave_value_list Funsetenv | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 693 of file sysdep.cc.
References error_state, octave_value::length(), and print_usage().
OCTAVE_EXPORT octave_value_list Fusleep | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 891 of file sysdep.cc.
References error_state, Fdrawnow(), NINT(), octave_usleep(), print_usage(), warning(), and xisnan().
std::string get_P_tmpdir | ( | void | ) |
Definition at line 545 of file sysdep.cc.
References octave_env::getenv().
Referenced by FP_tmpdir().
Definition at line 514 of file sysdep.cc.
References octave_ignore_interrupts(), octave_set_interrupt_handler(), and raw_mode().
int octave_pclose | ( | FILE * | f | ) |
Definition at line 502 of file sysdep.cc.
Referenced by octave_procbuf::close().
Definition at line 482 of file sysdep.cc.
Referenced by gl2ps_print(), and octave_procbuf::open().
Definition at line 339 of file sysdep.cc.
References ECHO, error(), forced_interactive, interactive, and warning().
Referenced by do_octave_atexit(), and octave_kbhit().
bool same_file_internal | ( | const std::string & | file1, |
const std::string & | file2 | ||
) |
Definition at line 246 of file sysdep.cc.
References base_file_stat::dev(), and base_file_stat::ino().
Referenced by same_file().
void sysdep_cleanup | ( | void | ) |
Definition at line 321 of file sysdep.cc.
References MINGW_SIGNAL_CLEANUP.
Referenced by do_octave_atexit().
void sysdep_init | ( | void | ) |
Definition at line 309 of file sysdep.cc.
Referenced by main(), and octave_main().