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 std::string
concat (
const std::string&,
const std::string&);
109 std::string
tail (
const std::string&
path);
116 extern OCTAVE_API
int
117 mkdir (
const std::string&, mode_t);
119 extern OCTAVE_API
int
120 mkdir (
const std::string&, mode_t, std::string&);
122 extern OCTAVE_API
int
123 mkfifo (
const std::string&, mode_t);
125 extern OCTAVE_API
int
126 mkfifo (
const std::string&, mode_t, std::string&);
128 extern OCTAVE_API
int
129 link (
const std::string&,
const std::string&);
131 extern OCTAVE_API
int
132 link (
const std::string&,
const std::string&, std::string&);
134 extern OCTAVE_API
int
135 symlink (
const std::string&,
const std::string&);
137 extern OCTAVE_API
int
138 symlink (
const std::string&,
const std::string&, std::string&);
140 extern OCTAVE_API
int
141 readlink (
const std::string&, std::string&);
143 extern OCTAVE_API
int
144 readlink (
const std::string&, std::string&, std::string&);
146 extern OCTAVE_API
int
147 rename (
const std::string&,
const std::string&);
149 extern OCTAVE_API
int
150 rename (
const std::string&,
const std::string&, std::string&);
152 extern OCTAVE_API
int
153 rmdir (
const std::string&);
155 extern OCTAVE_API
int
156 rmdir (
const std::string&, std::string&);
158 extern OCTAVE_API
int
161 extern OCTAVE_API
int
164 extern OCTAVE_API
int
167 extern OCTAVE_API
int
168 unlink (
const std::string&);
170 extern OCTAVE_API
int
171 unlink (
const std::string&, std::string&);
173 extern OCTAVE_API std::string
174 tempnam (
const std::string&,
const std::string&);
176 extern OCTAVE_API std::string
177 tempnam (
const std::string&,
const std::string&, std::string&);
179 extern OCTAVE_API std::string
182 extern OCTAVE_API std::string
std::string dirname(const std::string &path)
string_vector tilde_additional_prefixes
string_vector tilde_additional_suffixes
tilde_expansion_hook tilde_expansion_preexpansion_hook
std::string(* tilde_expansion_hook)(const std::string &)
std::string dir_sep_str(void)
std::string native_separator_path(const std::string &path)
std::string tilde_expand(const std::string &name)
tilde_expansion_hook tilde_expansion_failure_hook
std::string concat(const std::string &dir, const std::string &file)
std::string dir_sep_chars(void)
std::string tail(const std::string &path)
int link(const std::string &old_name, const std::string &new_name)
std::string tempnam(const std::string &dir, const std::string &pfx)
int readlink(const std::string &path, std::string &result)
std::string canonicalize_file_name(const std::string &name)
int rename(const std::string &from, const std::string &to)
int mkdir(const std::string &nm, mode_t md)
int symlink(const std::string &old_name, const std::string &new_name)
int rmdir(const std::string &name)
int recursive_rmdir(const std::string &name)
int unlink(const std::string &name)
int mkfifo(const std::string &nm, mode_t md)