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 fopen (
const std::string& name,
const std::string& mode);
58 fopen_tmp (
const std::string& name,
const std::string& mode);
61 fstream (
const std::string& name,
62 const std::ios::openmode mode = std::ios::in | std::ios::out);
66 const std::ios::openmode mode = std::ios::in);
70 const std::ios::openmode mode = std::ios::out);
73 putenv_wrapper (
const std::string& name,
const std::string& value);
85 const bool allow_locale =
false);
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
std::string dirname(const std::string &path)
OCTAVE_API std::FILE * fopen_tmp(const std::string &name, const std::string &mode)
OCTAVE_API std::ifstream ifstream(const std::string &name, const std::ios::openmode mode=std::ios::in)
OCTAVE_API std::string getcwd(void)
OCTAVE_API std::string get_ASCII_filename(const std::string &long_file_name, const bool allow_locale=false)
OCTAVE_API std::fstream fstream(const std::string &name, const std::ios::openmode mode=std::ios::in|std::ios::out)
OCTAVE_API std::string u8_from_wstring(const std::wstring &)
OCTAVE_API std::ofstream ofstream(const std::string &name, const std::ios::openmode mode=std::ios::out)
OCTAVE_API bool get_dirlist(const std::string &dirname, string_vector &dirlist, std::string &msg)
OCTAVE_API void putenv_wrapper(const std::string &name, const std::string &value)
OCTAVE_API std::string getenv_wrapper(const std::string &)
OCTAVE_API std::wstring u8_to_wstring(const std::string &)
OCTAVE_API int chdir(const std::string &)
OCTAVE_API int system(const std::string &cmd_str)
OCTAVE_API int unsetenv_wrapper(const std::string &)
OCTAVE_API std::FILE * fopen(const std::string &name, const std::string &mode)