Namespaces | |
file_ops | |
Functions | |
std::string | canonicalize_file_name (const std::string &name) |
std::string | canonicalize_file_name (const std::string &name, std::string &msg) |
int | link (const std::string &old_name, const std::string &new_name) |
int | link (const std::string &old_name, const std::string &new_name, std::string &msg) |
int | mkdir (const std::string &name, mode_t mode, std::string &msg) |
int | mkdir (const std::string &nm, mode_t md) |
int | mkfifo (const std::string &name, mode_t mode, std::string &msg) |
int | mkfifo (const std::string &nm, mode_t md) |
int | readlink (const std::string &path, std::string &result) |
int | readlink (const std::string &path, std::string &result, std::string &msg) |
int | recursive_mkdir (const std::string &name, mode_t mode) |
int | recursive_mkdir (const std::string &name, mode_t mode, std::string &msg) |
int | recursive_rmdir (const std::string &name) |
int | recursive_rmdir (const std::string &name, std::string &msg) |
int | rename (const std::string &from, const std::string &to) |
int | rename (const std::string &from, const std::string &to, std::string &msg) |
int | rmdir (const std::string &name) |
int | rmdir (const std::string &name, std::string &msg) |
int | symlink (const std::string &old_name, const std::string &new_name) |
int | symlink (const std::string &old_name, const std::string &new_name, std::string &msg) |
std::string | tempnam (const std::string &dir, const std::string &pfx) |
std::string | tempnam (const std::string &dir, const std::string &pfx, std::string &msg) |
int | umask (mode_t mode) |
int | unlink (const std::string &name) |
int | unlink (const std::string &name, std::string &msg) |
std::string octave::sys::canonicalize_file_name | ( | const std::string & | name | ) |
Definition at line 798 of file file-ops.cc.
References canonicalize_file_name().
Referenced by octave_dld_function::octave_dld_function(), octave_mex_function::octave_mex_function(), symbol_scope_rep::cache_dir_name(), Faudioinfo(), octave::Fcanonicalize_file_name(), Fdbstatus(), get_ASCII_filename(), octave_user_function::mark_as_system_fcn_file(), octave_canonicalize_file_name_wrapper(), hdf5_fstreambase::open_create(), and load_path::read_dir_config().
std::string octave::sys::canonicalize_file_name | ( | const std::string & | name, |
std::string & | msg | ||
) |
Definition at line 805 of file file-ops.cc.
References dir_sep_chars(), free(), len, octave_canonicalize_file_name_wrapper(), u8_from_wstring(), and u8_to_wstring().
Referenced by canonicalize_file_name().
int octave::sys::link | ( | const std::string & | old_name, |
const std::string & | new_name | ||
) |
Definition at line 508 of file file-ops.cc.
References link().
Referenced by octave::Flink(), and octave_link_wrapper().
int octave::sys::link | ( | const std::string & | old_name, |
const std::string & | new_name, | ||
std::string & | msg | ||
) |
int octave::sys::mkdir | ( | const std::string & | name, |
mode_t | mode, | ||
std::string & | msg | ||
) |
Definition at line 420 of file file-ops.cc.
References octave_mkdir_wrapper().
Referenced by mkdir(), and recursive_mkdir().
int octave::sys::mkdir | ( | const std::string & | nm, |
mode_t | md | ||
) |
Definition at line 413 of file file-ops.cc.
References mkdir().
Referenced by octave::F__mkdir__(), get_ASCII_filename(), base_url_transfer::mget_directory(), and octave_mkdir_wrapper().
int octave::sys::mkfifo | ( | const std::string & | name, |
mode_t | mode, | ||
std::string & | msg | ||
) |
Definition at line 495 of file file-ops.cc.
References octave_mkfifo_wrapper().
Referenced by mkfifo().
int octave::sys::mkfifo | ( | const std::string & | nm, |
mode_t | md | ||
) |
Definition at line 488 of file file-ops.cc.
References mkfifo().
Referenced by octave_mkfifo_wrapper().
int octave::sys::readlink | ( | const std::string & | path, |
std::string & | result | ||
) |
Definition at line 554 of file file-ops.cc.
References readlink().
Referenced by octave::Freadlink().
int octave::sys::readlink | ( | const std::string & | path, |
std::string & | result, | ||
std::string & | msg | ||
) |
Definition at line 561 of file file-ops.cc.
References free(), and octave_areadlink_wrapper().
Referenced by readlink().
int octave::sys::recursive_mkdir | ( | const std::string & | name, |
mode_t | mode | ||
) |
Definition at line 433 of file file-ops.cc.
References recursive_mkdir().
int octave::sys::recursive_mkdir | ( | const std::string & | name, |
mode_t | mode, | ||
std::string & | msg | ||
) |
Definition at line 440 of file file-ops.cc.
References dir_sep_chars(), is_dir_sep(), and mkdir().
Referenced by recursive_mkdir().
int octave::sys::recursive_rmdir | ( | const std::string & | name | ) |
Definition at line 655 of file file-ops.cc.
References recursive_rmdir().
int octave::sys::recursive_rmdir | ( | const std::string & | name, |
std::string & | msg | ||
) |
Definition at line 662 of file file-ops.cc.
References dir_sep_str(), base_file_stat::error(), get_dirlist(), base_file_stat::is_dir(), string_vector::numel(), rmdir(), and unlink().
Referenced by recursive_rmdir().
int octave::sys::rename | ( | const std::string & | from, |
const std::string & | to | ||
) |
Definition at line 582 of file file-ops.cc.
References rename().
Referenced by octave::Frename(), and hdf5_fstreambase::open_create().
int octave::sys::rename | ( | const std::string & | from, |
const std::string & | to, | ||
std::string & | msg | ||
) |
Definition at line 589 of file file-ops.cc.
References file_exists(), same_file(), u8_to_wstring(), and unlink().
Referenced by rename().
int octave::sys::rmdir | ( | const std::string & | name | ) |
Definition at line 631 of file file-ops.cc.
References rmdir().
Referenced by octave_rmdir_wrapper().
int octave::sys::rmdir | ( | const std::string & | name, |
std::string & | msg | ||
) |
Definition at line 638 of file file-ops.cc.
References octave_rmdir_wrapper().
Referenced by recursive_rmdir(), and rmdir().
int octave::sys::symlink | ( | const std::string & | old_name, |
const std::string & | new_name | ||
) |
Definition at line 531 of file file-ops.cc.
References symlink().
Referenced by octave::Freadlink(), octave::Fsymlink(), and octave_symlink_wrapper().
int octave::sys::symlink | ( | const std::string & | old_name, |
const std::string & | new_name, | ||
std::string & | msg | ||
) |
Definition at line 538 of file file-ops.cc.
References octave_symlink_wrapper().
Referenced by symlink().
std::string octave::sys::tempnam | ( | const std::string & | dir, |
const std::string & | pfx | ||
) |
Definition at line 749 of file file-ops.cc.
References tempnam().
Referenced by octave::Ftempname(), octave::Ftmpfile(), and hdf5_fstreambase::open_create().
std::string octave::sys::tempnam | ( | const std::string & | dir, |
const std::string & | pfx, | ||
std::string & | msg | ||
) |
Definition at line 756 of file file-ops.cc.
References dir_sep_char(), env::get_temp_directory(), octave_gen_tempname_wrapper(), and OCTAVE_LOCAL_BUFFER.
Referenced by tempnam().
int octave::sys::umask | ( | mode_t | mode | ) |
Definition at line 721 of file file-ops.cc.
References octave_umask_wrapper().
int octave::sys::unlink | ( | const std::string & | name | ) |
Definition at line 727 of file file-ops.cc.
References unlink().
Referenced by octave::F__ftp_mget__(), octave::Funlink(), octave::Furlwrite(), get_ASCII_filename(), base_url_transfer::mget_directory(), and octave_unlink_wrapper().
int octave::sys::unlink | ( | const std::string & | name, |
std::string & | msg | ||
) |
Definition at line 734 of file file-ops.cc.
References octave_unlink_wrapper().
Referenced by recursive_rmdir(), rename(), and unlink().