GNU Octave
3.8.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.
Macros | |
#define | STDIN_FILENO 1 |
#define STDIN_FILENO 1 |
Definition at line 88 of file sysdep.cc.
Referenced by QUnixTerminalImpl::connectToPty(), octave_syscalls::popen2(), and raw_mode().
OCTAVE_EXPORT octave_value_list Fclc | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 536 of file sysdep.cc.
References command_editor::clear_screen().
Referenced by main_window::clear_command_window_callback().
OCTAVE_EXPORT octave_value_list Fgetenv | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 558 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 920 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 824 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 645 of file sysdep.cc.
References DEFUN, Fdrawnow(), forced_interactive, interactive, and octave_kbhit().
OCTAVE_EXPORT octave_value_list Fnative_float_format | ( | const octave_value_list & | , |
int | |||
) |
Definition at line 840 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 684 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 Fputenv | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 582 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 739 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 870 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 Fusleep | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 779 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 493 of file sysdep.cc.
References octave_env::getenv(), and P_tmpdir.
Referenced by FP_tmpdir().
Definition at line 462 of file sysdep.cc.
References octave_ignore_interrupts(), octave_set_interrupt_handler(), and raw_mode().
int octave_pclose | ( | FILE * | f | ) |
Definition at line 450 of file sysdep.cc.
Referenced by octave_procbuf::close().
Definition at line 430 of file sysdep.cc.
Referenced by octave_procbuf::open().
Definition at line 287 of file sysdep.cc.
References ECHO, error(), interactive, isatty(), STDIN_FILENO, 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 194 of file sysdep.cc.
References base_file_stat::dev(), and base_file_stat::ino().
Referenced by same_file().
Definition at line 269 of file sysdep.cc.
References MINGW_SIGNAL_CLEANUP.
Referenced by do_octave_atexit().