23 #if ! defined (octave_oct_env_h) 24 #define octave_oct_env_h 1 26 #include "octave-config.h" 48 env& operator = (
const env&) =
delete;
54 static bool rooted_relative_pathname (
const std::string&
s);
60 const std::string& dot_path = get_current_directory ());
70 static std::string get_program_invocation_name (
void);
80 static bool have_x11_display (
void);
88 static bool instance_ok (
void);
94 bool do_rooted_relative_pathname (
const std::string&
s)
const;
119 void pathname_backup (
std::string& path,
int n)
const;
121 void error (
int)
const;
153 #if defined (OCTAVE_USE_DEPRECATED_FUNCTIONS) 155 OCTAVE_DEPRECATED (4.2,
"use 'octave::sys::env' instead")
156 typedef
octave::sys::env octave_env;
static string_vector make_absolute(const string_vector &sv)
std::string current_directory
void error(const char *fmt,...)
bool follow_symbolic_links
nd deftypefn *std::string name
static bool absolute_pathname(const std::string &s)
static void cleanup_instance(void)
std::string prog_invocation_name
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
nd group nd example For each display the value