23 #if ! defined (octave_oct_env_h)
24 #define octave_oct_env_h 1
26 #include "octave-config.h"
48 static bool rooted_relative_pathname (
const std::string& s);
54 const std::string& dot_path = get_current_directory ());
64 static std::string get_program_invocation_name (
void);
74 static bool have_x11_display (
void);
78 static void set_program_name (
const std::string& s);
82 static bool instance_ok (
void);
86 bool do_absolute_pathname (
const std::string& s)
const;
88 bool do_rooted_relative_pathname (
const std::string& s)
const;
111 void do_set_program_name (
const std::string& s)
const;
113 void pathname_backup (
std::string& path,
int n)
const;
115 void error (
int)
const;
123 env& operator = (
const env&);
153 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS)
155 OCTAVE_DEPRECATED (
"use 'octave::sys::env' instead")
156 typedef
octave::sys::env octave_env;
Octave interface to the compression and uncompression libraries.
static string_vector make_absolute(const string_vector &sv)
std::string current_directory
void error(const char *fmt,...)
bool follow_symbolic_links
static void cleanup_instance(void)
std::string prog_invocation_name
OCTAVE_EXPORT octave_value_list or N dimensional array whose elements are all equal to the IEEE symbol zero divided by nd tex zero divided by nd ifnottex and any operation involving another NaN value(5+NaN).Note that NaN always compares not equal to NaN(NaN!
int chdir(const std::string &path_arg)
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string