26 #if ! defined (octave_lo_sysdep_h)
27 #define octave_lo_sysdep_h 1
29 #include "octave-config.h"
34 #include <sys/types.h>
55 file_exists (
const std::string& filename,
bool is_dir =
true);
58 file_exists (
const std::string& filename,
bool is_dir, std::string& msg);
66 same_file (
const std::string&
f,
const std::string& g);
69 fopen (
const std::string& name,
const std::string& mode);
72 fopen_tmp (
const std::string& name,
const std::string& mode);
75 fstream (
const std::string& name,
76 const std::ios::openmode mode = std::ios::in | std::ios::out);
80 const std::ios::openmode mode = std::ios::in);
84 const std::ios::openmode mode = std::ios::out);
87 putenv_wrapper (
const std::string& name,
const std::string& value);
101 const bool allow_locale =
false);
103 OCTAVE_END_NAMESPACE(sys)
104 OCTAVE_END_NAMESPACE(
octave)
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
std::string dirname(const std::string &path)
F77_RET_T const F77_DBLE const F77_DBLE * f
std::ifstream ifstream(const std::string &name, const std::ios::openmode mode=std::ios::in)
int system(const std::string &cmd_str)
int chdir(const std::string &)
bool isenv_wrapper(const std::string &)
bool dir_exists(const std::string &dirname)
bool file_exists(const std::string &filename, bool is_dir=true)
std::string u8_from_wstring(const std::wstring &)
std::ofstream ofstream(const std::string &name, const std::ios::openmode mode=std::ios::out)
std::wstring u8_to_wstring(const std::string &)
std::string get_ASCII_filename(const std::string &long_file_name, const bool allow_locale=false)
void putenv_wrapper(const std::string &name, const std::string &value)
bool get_dirlist(const std::string &dirname, string_vector &dirlist, std::string &msg)
std::FILE * fopen(const std::string &name, const std::string &mode)
int unsetenv_wrapper(const std::string &)
std::fstream fstream(const std::string &name, const std::ios::openmode mode=std::ios::in|std::ios::out)
std::string getenv_wrapper(const std::string &)
std::FILE * fopen_tmp(const std::string &name, const std::string &mode)
bool same_file(const std::string &f, const std::string &g)