26 #if ! defined (octave_file_ops_h)
27 #define octave_file_ops_h 1
29 #include "octave-config.h"
33 #include <sys/types.h>
99 extern
OCTAVE_API std::
string concat (const std::
string&, const std::
string&);
120 mkdir (const std::
string&, mode_t);
123 mkdir (const std::
string&, mode_t, std::
string&);
129 recursive_mkdir (const std::
string& name, mode_t mode, std::
string& msg);
132 mkfifo (const std::
string&, mode_t);
135 mkfifo (const std::
string&, mode_t, std::
string&);
138 link (const std::
string&, const std::
string&);
141 link (const std::
string&, const std::
string&, std::
string&);
144 symlink (const std::
string&, const std::
string&);
147 symlink (const std::
string&, const std::
string&, std::
string&);
150 readlink (const std::
string&, std::
string&);
153 readlink (const std::
string&, std::
string&, std::
string&);
156 rename (const std::
string&, const std::
string&);
159 rename (const std::
string&, const std::
string&, std::
string&);
162 rmdir (const std::
string&);
165 rmdir (const std::
string&, std::
string&);
177 unlink (const std::
string&);
180 unlink (const std::
string&, std::
string&);
183 tempnam (const std::
string&, const std::
string&);
186 tempnam (const std::
string&, const std::
string&, std::
string&);
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
OCTAVE_API bool is_dev_sep(char c)
OCTAVE_API int symlink(const std::string &, const std::string &)
OCTAVE_API string_vector tilde_additional_prefixes
OCTAVE_API std::string canonicalize_file_name(const std::string &)
OCTAVE_API int unlink(const std::string &)
OCTAVE_API int rename(const std::string &, const std::string &)
OCTAVE_API int rmdir(const std::string &)
OCTAVE_API int recursive_mkdir(const std::string &name, mode_t mode)
OCTAVE_API std::string dirname(const std::string &path)
OCTAVE_API int mkfifo(const std::string &, mode_t)
OCTAVE_API std::string concat(const std::string &, const std::string &)
OCTAVE_API char dev_sep_char(void)
OCTAVE_API int recursive_rmdir(const std::string &)
OCTAVE_API tilde_expansion_hook tilde_expansion_failure_hook
OCTAVE_API std::string tail(const std::string &path)
OCTAVE_API char dir_sep_char(void)
OCTAVE_API std::string dir_sep_str(void)
OCTAVE_API std::string dir_sep_chars(void)
OCTAVE_API int link(const std::string &, const std::string &)
OCTAVE_API tilde_expansion_hook tilde_expansion_preexpansion_hook
OCTAVE_API int mkdir(const std::string &, mode_t)
OCTAVE_API bool is_dir_sep(char c)
std::string(* tilde_expansion_hook)(const std::string &)
OCTAVE_API string_vector tilde_additional_suffixes
OCTAVE_API std::string tempnam(const std::string &, const std::string &)
OCTAVE_API int umask(mode_t)
OCTAVE_API int readlink(const std::string &, std::string &)
OCTAVE_API std::string native_separator_path(const std::string &path)
OCTAVE_API std::string tilde_expand(const std::string &)