Namespaces | |
namespace | file_ops |
Classes | |
class | base_file_stat |
class | base_tm |
class | cpu_time |
class | dir_entry |
class | env |
class | file_fstat |
class | file_stat |
class | gmtime |
class | group |
class | localtime |
class | password |
class | resource_usage |
class | strptime |
class | time |
class | uname |
Functions | |
std::string | blas_version (void) |
std::string | canonicalize_file_name (const std::string &name) |
std::string | canonicalize_file_name (const std::string &name, std::string &msg) |
int | chdir (const std::string &path_arg) |
int | dup2 (int old_fd, int new_fd) |
int | dup2 (int old_fd, int new_fd, std::string &msg) |
int | execvp (const std::string &file, const string_vector &args, std::string &msg) |
int | execvp (const std::string &file, const string_vector &argv) |
int | fcntl (int fd, int cmd, long arg) |
int | fcntl (int fd, int cmd, long arg, std::string &msg) |
bool | fnmatch (const string_vector &pat, const std::string &str, int fnm_flags) |
std::FILE * | fopen (const std::string &filename, const std::string &mode) |
pid_t | fork (std::string &msg) |
std::fstream | fstream (const std::string &filename, const std::ios::openmode mode) |
std::string | get_ASCII_filename (const std::string &orig_file_name, const bool allow_locale) |
bool | get_dirlist (const std::string &dirname, string_vector &dirlist, std::string &msg) |
std::string | getcwd (void) |
gid_t | getegid (void) |
std::string | getenv_wrapper (const std::string &name) |
uid_t | geteuid (void) |
gid_t | getgid (void) |
pid_t | getpgrp (std::string &msg) |
pid_t | getpid (void) |
pid_t | getppid (void) |
uid_t | getuid (void) |
string_vector | glob (const string_vector &pat) |
std::ifstream | ifstream (const std::string &filename, const std::ios::openmode mode) |
int | kill (pid_t pid, int sig) |
int | kill (pid_t pid, int sig, std::string &msg) |
std::string | lapack_version (void) |
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) |
std::ofstream | ofstream (const std::string &filename, const std::ios::openmode mode) |
bool | operator!= (const time &t1, const time &t2) |
time | operator+ (const time &t1, const time &t2) |
bool | operator< (const time &t1, const time &t2) |
std::ostream & | operator<< (std::ostream &os, const time &ot) |
bool | operator<= (const time &t1, const time &t2) |
bool | operator== (const time &t1, const time &t2) |
bool | operator> (const time &t1, const time &t2) |
bool | operator>= (const time &t1, const time &t2) |
int | pipe (int *fildes) |
int | pipe (int *fildes, std::string &msg) |
pid_t | popen2 (const std::string &cmd, const string_vector &args, bool sync_mode, int *fildes) |
pid_t | popen2 (const std::string &cmd, const string_vector &args, bool sync_mode, int *fildes, std::string &msg) |
void | putenv_wrapper (const std::string &name, const std::string &value) |
int | readlink (const std::string &path, std::string &result) |
int | readlink (const std::string &path, std::string &result, 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) |
int | system (const std::string &cmd_str) |
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) |
std::string | u8_from_wstring (const std::wstring &wchar_string) |
std::wstring | u8_to_wstring (const std::string &utf8_string) |
int | umask (mode_t mode) |
int | unlink (const std::string &name) |
int | unlink (const std::string &name, std::string &msg) |
int | unsetenv_wrapper (const std::string &name) |
pid_t | vfork (std::string &msg) |
pid_t | waitpid (pid_t pid, int *status, int options) |
pid_t | waitpid (pid_t pid, int *status, int options, std::string &msg) |
int | wcontinue (void) |
int | wcoredump (int status) |
int | wexitstatus (int status) |
bool | wifcontinued (int status) |
bool | wifexited (int status) |
bool | wifsignaled (int status) |
bool | wifstopped (int status) |
string_vector | windows_glob (const string_vector &pat) |
int | wnohang (void) |
int | wstopsig (int status) |
int | wtermsig (int status) |
int | wuntraced (void) |
OCTAVE_API std::string octave::sys::blas_version | ( | void | ) |
Definition at line 45 of file lo-sysinfo.cc.
References len, and octave::dynamic_library::search().
Referenced by F__blas_version__().
OCTAVE_API std::string octave::sys::canonicalize_file_name | ( | const std::string & | name | ) |
Definition at line 688 of file file-ops.cc.
References canonicalize_file_name(), and name.
Referenced by octave_dld_function::octave_dld_function(), octave_mex_function::octave_mex_function(), octave::symbol_scope_rep::cache_dir_name(), canonicalize_file_name(), Faudioinfo(), Fcanonicalize_file_name(), Fdbstatus(), get_ASCII_filename(), load_path::dir_info::initialize(), fcn_info::fcn_info_rep::load_private_function(), octave_user_function::mark_as_system_fcn_file(), maybe_canonicalize(), octave_canonicalize_file_name_wrapper(), hdf5_fstreambase::open_create(), octave::file_editor_tab::save_file(), tree_evaluator::source_file(), and load_path::dir_info::update().
OCTAVE_API std::string octave::sys::canonicalize_file_name | ( | const std::string & | name, |
std::string & | msg | ||
) |
Definition at line 694 of file file-ops.cc.
References free(), len, name, octave_canonicalize_file_name_wrapper(), u8_from_wstring(), and u8_to_wstring().
OCTAVE_API int octave::sys::chdir | ( | const std::string & | path_arg | ) |
Definition at line 106 of file lo-sysdep.cc.
References octave_chdir_wrapper(), path, and octave::sys::file_ops::tilde_expand().
Referenced by interpreter::chdir(), octave::sys::env::do_chdir(), and octave_chdir_wrapper().
OCTAVE_API int octave::sys::dup2 | ( | int | old_fd, |
int | new_fd | ||
) |
Definition at line 52 of file oct-syscalls.cc.
References dup2().
Referenced by QUnixTerminalImpl::~QUnixTerminalImpl(), QUnixTerminalImpl::connectToPty(), dup2(), Fdup2(), octave_dup2_wrapper(), octave_popen2(), and QConsolePrivate::setupStandardIO().
OCTAVE_API int octave::sys::dup2 | ( | int | old_fd, |
int | new_fd, | ||
std::string & | msg | ||
) |
Definition at line 59 of file oct-syscalls.cc.
References octave_dup2_wrapper().
OCTAVE_API int octave::sys::execvp | ( | const std::string & | file, |
const string_vector & | args, | ||
std::string & | msg | ||
) |
Definition at line 81 of file oct-syscalls.cc.
References string_vector::c_str_vec(), string_vector::delete_c_str_vec(), and octave_execvp_wrapper().
OCTAVE_API int octave::sys::execvp | ( | const std::string & | file, |
const string_vector & | argv | ||
) |
Definition at line 74 of file oct-syscalls.cc.
References execvp().
Referenced by execvp(), Fexec(), octave_execvp_wrapper(), and octave_popen2().
OCTAVE_API int octave::sys::fcntl | ( | int | fd, |
int | cmd, | ||
long | arg | ||
) |
Definition at line 348 of file oct-syscalls.cc.
References fcntl().
Referenced by KPty::close(), fcntl(), Ffcntl(), octave_fcntl_wrapper(), octave_popen2(), and KPty::open().
OCTAVE_API int octave::sys::fcntl | ( | int | fd, |
int | cmd, | ||
long | arg, | ||
std::string & | msg | ||
) |
Definition at line 355 of file oct-syscalls.cc.
References octave_fcntl_wrapper().
OCTAVE_API bool octave::sys::fnmatch | ( | const string_vector & | pat, |
const std::string & | str, | ||
int | fnm_flags | ||
) |
Definition at line 67 of file oct-glob.cc.
References string_vector::numel(), octave_fnm_nomatch_wrapper(), and octave_fnmatch_wrapper().
Referenced by glob_match::match(), and octave_fnmatch_wrapper().
OCTAVE_API std::FILE * octave::sys::fopen | ( | const std::string & | filename, |
const std::string & | mode | ||
) |
Definition at line 314 of file lo-sysdep.cc.
References fopen(), and u8_to_wstring().
Referenced by do_stream_open(), F__delaunayn__(), fopen(), QConsolePrivate::log(), and load_path::read_dir_config().
OCTAVE_API pid_t octave::sys::fork | ( | std::string & | msg | ) |
Definition at line 99 of file oct-syscalls.cc.
References NOT_SUPPORTED, octave_fork_wrapper(), and octave_have_fork().
Referenced by Ffork(), octave_async_system_wrapper(), octave_fork_wrapper(), octave_popen2(), and procbuf::open().
OCTAVE_API std::fstream octave::sys::fstream | ( | const std::string & | filename, |
const std::ios::openmode | mode | ||
) |
Definition at line 386 of file lo-sysdep.cc.
References fstream(), and u8_to_wstring().
Referenced by history_system::do_edit_history(), and fstream().
OCTAVE_API std::string octave::sys::get_ASCII_filename | ( | const std::string & | orig_file_name, |
const bool | allow_locale | ||
) |
Definition at line 581 of file lo-sysdep.cc.
References canonicalize_file_name(), octave::sys::file_ops::dir_sep_chars(), octave::sys::file_ops::dir_sep_str(), free(), octave::crypto::hash(), mkdir(), OCTAVE_LOCAL_BUFFER, octave_locale_charset_wrapper(), octave_u8_conv_to_encoding_strict(), u8_from_wstring(), u8_to_wstring(), and unlink().
Referenced by octave::ft_manager::do_get_font(), F__magick_ping__(), load_save_system::get_file_format(), hdf5_fstreambase::open_create(), read_file(), and load_save_system::save().
OCTAVE_API bool octave::sys::get_dirlist | ( | const std::string & | dirname, |
string_vector & | dirlist, | ||
std::string & | msg | ||
) |
Definition at line 119 of file lo-sysdep.cc.
References octave::sys::dir_entry::close(), octave::sys::file_ops::dirname(), octave::sys::dir_entry::error(), octave::sys::dir_entry::read(), u8_from_wstring(), and u8_to_wstring().
Referenced by Freaddir(), genpath(), load_path::dir_info::get_file_list(), octave::base_url_transfer::mput_directory(), recursive_rmdir(), and xzip().
OCTAVE_API std::string octave::sys::getcwd | ( | void | ) |
Definition at line 71 of file lo-sysdep.cc.
References free(), octave_getcwd_wrapper(), and u8_from_wstring().
Referenced by octave::sys::env::do_getcwd(), and octave_getcwd_wrapper().
OCTAVE_API gid_t octave::sys::getegid | ( | void | ) |
Definition at line 167 of file oct-syscalls.cc.
References octave_getegid_wrapper().
Referenced by Fgetegid(), and octave_getegid_wrapper().
OCTAVE_API std::string octave::sys::getenv_wrapper | ( | const std::string & | name | ) |
Definition at line 464 of file lo-sysdep.cc.
References name, u8_from_wstring(), and u8_to_wstring().
Referenced by octave::sys::env::do_getenv().
OCTAVE_API uid_t octave::sys::geteuid | ( | void | ) |
Definition at line 179 of file oct-syscalls.cc.
References octave_geteuid_wrapper().
Referenced by KPty::close(), Fgeteuid(), octave_geteuid_wrapper(), and KPty::open().
OCTAVE_API gid_t octave::sys::getgid | ( | void | ) |
Definition at line 161 of file oct-syscalls.cc.
References octave_getgid_wrapper().
Referenced by KPty::close(), Fgetgid(), octave_getgid_wrapper(), and KPty::open().
OCTAVE_API pid_t octave::sys::getpgrp | ( | std::string & | msg | ) |
Definition at line 138 of file oct-syscalls.cc.
References octave_getpgrp_wrapper().
Referenced by Fgetpgrp(), and octave_getpgrp_wrapper().
OCTAVE_API pid_t octave::sys::getpid | ( | void | ) |
Definition at line 149 of file oct-syscalls.cc.
References octave_getpid_wrapper().
Referenced by Fgetpid(), octave::init_mersenne_twister(), and octave_getpid_wrapper().
OCTAVE_API pid_t octave::sys::getppid | ( | void | ) |
Definition at line 155 of file oct-syscalls.cc.
References octave_getppid_wrapper().
Referenced by Fgetppid(), and octave_getppid_wrapper().
OCTAVE_API uid_t octave::sys::getuid | ( | void | ) |
Definition at line 173 of file oct-syscalls.cc.
References octave_getuid_wrapper().
Referenced by octave::sys::env::do_get_home_directory(), octave::sys::env::do_get_user_name(), Fgetuid(), octave_getuid_wrapper(), and KPty::open().
OCTAVE_API string_vector octave::sys::glob | ( | const string_vector & | pat | ) |
Definition at line 82 of file oct-glob.cc.
References string_vector::numel(), octave_create_glob_info_struct(), octave_destroy_glob_info_struct(), octave_glob_match_list(), octave_glob_nosort_wrapper(), octave_glob_num_matches(), octave_glob_wrapper(), octave_globfree_wrapper(), string_vector::resize(), octave::single_match_exists(), and string_vector::sort().
Referenced by glob_match::glob(), and octave_glob_wrapper().
OCTAVE_API std::ifstream octave::sys::ifstream | ( | const std::string & | filename, |
const std::ios::openmode | mode | ||
) |
Definition at line 400 of file lo-sysdep.cc.
References ifstream(), and u8_to_wstring().
Referenced by check_gzip_magic(), do_dbtype(), F__ftp_mput__(), Fdlmread(), load_save_system::get_file_format(), get_file_line(), ifstream(), load_save_system::load(), octave::base_url_transfer::mput_directory(), read_classpath_txt(), JVMArgs::read_java_opts(), octave::latex_renderer::render(), and octave::file_info::snarf_file().
OCTAVE_API int octave::sys::kill | ( | pid_t | pid, |
int | sig | ||
) |
Definition at line 295 of file oct-syscalls.cc.
References kill().
Referenced by Fkill(), kill(), and octave_kill_wrapper().
OCTAVE_API int octave::sys::kill | ( | pid_t | pid, |
int | sig, | ||
std::string & | msg | ||
) |
Definition at line 302 of file oct-syscalls.cc.
References NOT_SUPPORTED, octave_have_kill(), and octave_kill_wrapper().
OCTAVE_API std::string octave::sys::lapack_version | ( | void | ) |
Definition at line 163 of file lo-sysinfo.cc.
References octave::F77_FUNC(), F77_RET_T(), octave::dynamic_library::search(), and STRINGIZE.
Referenced by F__lapack_version__().
OCTAVE_API int octave::sys::link | ( | const std::string & | old_name, |
const std::string & | new_name | ||
) |
OCTAVE_API int octave::sys::link | ( | const std::string & | old_name, |
const std::string & | new_name, | ||
std::string & | msg | ||
) |
Definition at line 441 of file file-ops.cc.
References octave_link_wrapper().
OCTAVE_API int octave::sys::mkdir | ( | const std::string & | name, |
mode_t | mode, | ||
std::string & | msg | ||
) |
Definition at line 405 of file file-ops.cc.
References name, and octave_mkdir_wrapper().
OCTAVE_API int octave::sys::mkdir | ( | const std::string & | nm, |
mode_t | md | ||
) |
Definition at line 399 of file file-ops.cc.
References mkdir().
Referenced by F__mkdir__(), get_ASCII_filename(), octave::base_url_transfer::mget_directory(), mkdir(), octave_mkdir_wrapper(), octave::latex_renderer::write_tex_file(), and xzip().
OCTAVE_API int octave::sys::mkfifo | ( | const std::string & | name, |
mode_t | mode, | ||
std::string & | msg | ||
) |
Definition at line 423 of file file-ops.cc.
References name, and octave_mkfifo_wrapper().
OCTAVE_API int octave::sys::mkfifo | ( | const std::string & | nm, |
mode_t | md | ||
) |
Definition at line 417 of file file-ops.cc.
References mkfifo().
Referenced by Fmkfifo(), mkfifo(), and octave_mkfifo_wrapper().
OCTAVE_API std::ofstream octave::sys::ofstream | ( | const std::string & | filename, |
const std::ios::openmode | mode | ||
) |
Definition at line 414 of file lo-sysdep.cc.
References ofstream(), and u8_to_wstring().
Referenced by load_save_system::dump_octave_core(), F__ftp_mget__(), Furlwrite(), main(), octave::base_url_transfer::mget_directory(), mk_tmp_hist_file(), ofstream(), load_save_system::save(), diary_buf::sync(), and octave::latex_renderer::write_tex_file().
|
inline |
Definition at line 134 of file oct-time.h.
Definition at line 178 of file oct-time.h.
References octave::sys::time::unix_time(), and octave::sys::time::usec().
Definition at line 139 of file oct-time.h.
References octave::sys::time::unix_time(), and octave::sys::time::usec().
std::ostream & octave::sys::operator<< | ( | std::ostream & | os, |
const time & | ot | ||
) |
Definition at line 102 of file oct-time.cc.
Definition at line 152 of file oct-time.h.
Definition at line 128 of file oct-time.h.
References octave::sys::time::unix_time(), and octave::sys::time::usec().
Definition at line 159 of file oct-time.h.
References octave::sys::time::unix_time(), and octave::sys::time::usec().
Definition at line 172 of file oct-time.h.
OCTAVE_API int octave::sys::pipe | ( | int * | fildes | ) |
Definition at line 185 of file oct-syscalls.cc.
References pipe().
Referenced by Fpipe(), octave_pipe_wrapper(), octave_popen2(), procbuf::open(), and pipe().
OCTAVE_API int octave::sys::pipe | ( | int * | fildes, |
std::string & | msg | ||
) |
Definition at line 192 of file oct-syscalls.cc.
References octave_pipe_wrapper().
OCTAVE_API pid_t octave::sys::popen2 | ( | const std::string & | cmd, |
const string_vector & | args, | ||
bool | sync_mode, | ||
int * | fildes | ||
) |
Definition at line 322 of file oct-syscalls.cc.
References popen2().
OCTAVE_API pid_t octave::sys::popen2 | ( | const std::string & | cmd, |
const string_vector & | args, | ||
bool | sync_mode, | ||
int * | fildes, | ||
std::string & | msg | ||
) |
Definition at line 330 of file oct-syscalls.cc.
References string_vector::c_str_vec(), string_vector::delete_c_str_vec(), and octave_popen2().
OCTAVE_API void octave::sys::putenv_wrapper | ( | const std::string & | name, |
const std::string & | value | ||
) |
Definition at line 428 of file lo-sysdep.cc.
References len, malloc(), name, octave_putenv_wrapper(), and u8_to_wstring().
Referenced by octave::sys::env::putenv(), and unsetenv_wrapper().
OCTAVE_API int octave::sys::readlink | ( | const std::string & | path, |
std::string & | result | ||
) |
Definition at line 477 of file file-ops.cc.
References path, and readlink().
Referenced by Freadlink(), and readlink().
OCTAVE_API int octave::sys::readlink | ( | const std::string & | path, |
std::string & | result, | ||
std::string & | msg | ||
) |
Definition at line 483 of file file-ops.cc.
References free(), octave_areadlink_wrapper(), and path.
OCTAVE_API int octave::sys::recursive_rmdir | ( | const std::string & | name | ) |
Definition at line 552 of file file-ops.cc.
References name, and recursive_rmdir().
Referenced by octave::documentation::~documentation(), octave::latex_renderer::~latex_renderer(), Frmdir(), and recursive_rmdir().
OCTAVE_API int octave::sys::recursive_rmdir | ( | const std::string & | name, |
std::string & | msg | ||
) |
Definition at line 558 of file file-ops.cc.
References octave::sys::file_ops::dir_sep_str(), octave::sys::base_file_stat::error(), get_dirlist(), octave::sys::base_file_stat::is_dir(), name, string_vector::numel(), recursive_rmdir(), rmdir(), and unlink().
OCTAVE_API int octave::sys::rename | ( | const std::string & | from, |
const std::string & | to | ||
) |
Definition at line 503 of file file-ops.cc.
References rename().
Referenced by octave::workspace_view::contextmenu_requested(), Frename(), hdf5_fstreambase::open_create(), and rename().
OCTAVE_API int octave::sys::rename | ( | const std::string & | from, |
const std::string & | to, | ||
std::string & | msg | ||
) |
Definition at line 509 of file file-ops.cc.
References rename(), and u8_to_wstring().
Referenced by rename().
OCTAVE_API int octave::sys::rmdir | ( | const std::string & | name | ) |
Definition at line 530 of file file-ops.cc.
Referenced by Frmdir(), octave_rmdir_wrapper(), recursive_rmdir(), and rmdir().
OCTAVE_API int octave::sys::rmdir | ( | const std::string & | name, |
std::string & | msg | ||
) |
Definition at line 536 of file file-ops.cc.
References name, and octave_rmdir_wrapper().
OCTAVE_API int octave::sys::symlink | ( | const std::string & | old_name, |
const std::string & | new_name | ||
) |
Definition at line 456 of file file-ops.cc.
References symlink().
Referenced by Freadlink(), Fsymlink(), octave_symlink_wrapper(), and symlink().
OCTAVE_API int octave::sys::symlink | ( | const std::string & | old_name, |
const std::string & | new_name, | ||
std::string & | msg | ||
) |
Definition at line 462 of file file-ops.cc.
References octave_symlink_wrapper().
OCTAVE_API int octave::sys::system | ( | const std::string & | cmd_str | ) |
Definition at line 59 of file lo-sysdep.cc.
References system(), and u8_to_wstring().
Referenced by octave::resource_manager::config_translators(), history_system::do_edit_history(), Fsystem(), run_command(), and system().
OCTAVE_API std::string octave::sys::tempnam | ( | const std::string & | dir, |
const std::string & | pfx | ||
) |
Definition at line 641 of file file-ops.cc.
References tempnam().
Referenced by octave::documentation::documentation(), Ftempname(), mk_tmp_hist_file(), hdf5_fstreambase::open_create(), tempnam(), and octave::latex_renderer::write_tex_file().
OCTAVE_API std::string octave::sys::tempnam | ( | const std::string & | dir, |
const std::string & | pfx, | ||
std::string & | msg | ||
) |
Definition at line 647 of file file-ops.cc.
References octave::sys::file_ops::dir_sep_char(), octave::sys::env::get_temp_directory(), and octave_gen_tempname_wrapper().
OCTAVE_API std::string octave::sys::u8_from_wstring | ( | const std::wstring & | wchar_string | ) |
Definition at line 513 of file lo-sysdep.cc.
Referenced by canonicalize_file_name(), octave::sys::env::do_get_user_config_directory(), octave::sys::env::do_get_user_data_directory(), get_ASCII_filename(), get_dirlist(), getcwd(), getenv_wrapper(), and octave::sys::base_tm::init().
OCTAVE_API std::wstring octave::sys::u8_to_wstring | ( | const std::string & | utf8_string | ) |
Definition at line 490 of file lo-sysdep.cc.
Referenced by canonicalize_file_name(), drive_or_unc_share(), F__open_with_system_app__(), Fdlmread(), fopen(), fstream(), get_ASCII_filename(), get_dirlist(), getenv_wrapper(), ifstream(), ofstream(), popen(), putenv_wrapper(), READABLE(), rename(), same_file_internal(), system(), unsetenv_wrapper(), and windows_glob().
OCTAVE_API int octave::sys::umask | ( | mode_t | mode | ) |
Definition at line 616 of file file-ops.cc.
References octave_umask_wrapper().
Referenced by Fumask(), and octave_umask_wrapper().
OCTAVE_API int octave::sys::unlink | ( | const std::string & | name | ) |
Definition at line 621 of file file-ops.cc.
References name, and unlink().
Referenced by history_system::do_edit_history(), history_system::do_run_history(), F__ftp_mget__(), Funlink(), Furlwrite(), get_ASCII_filename(), octave::base_url_transfer::mget_directory(), octave_unlink_wrapper(), recursive_rmdir(), unlink(), and xzip().
OCTAVE_API int octave::sys::unlink | ( | const std::string & | name, |
std::string & | msg | ||
) |
Definition at line 627 of file file-ops.cc.
References name, and octave_unlink_wrapper().
OCTAVE_API int octave::sys::unsetenv_wrapper | ( | const std::string & | name | ) |
Definition at line 477 of file lo-sysdep.cc.
References name, octave_unsetenv_wrapper(), putenv_wrapper(), and u8_to_wstring().
Referenced by Funsetenv().
OCTAVE_API pid_t octave::sys::vfork | ( | std::string & | msg | ) |
Definition at line 117 of file oct-syscalls.cc.
References NOT_SUPPORTED, octave_fork_wrapper(), octave_have_fork(), octave_have_vfork(), and octave_vfork_wrapper().
Referenced by octave_vfork_wrapper().
OCTAVE_API pid_t octave::sys::waitpid | ( | pid_t | pid, |
int * | status, | ||
int | options | ||
) |
Definition at line 207 of file oct-syscalls.cc.
References waitpid().
Referenced by procbuf::close(), Fwaitpid(), octave_waitpid_wrapper(), octave::child_list::wait(), and waitpid().
OCTAVE_API pid_t octave::sys::waitpid | ( | pid_t | pid, |
int * | status, | ||
int | options, | ||
std::string & | msg | ||
) |
Definition at line 214 of file oct-syscalls.cc.
References octave_waitpid_wrapper().
OCTAVE_API int octave::sys::wcontinue | ( | void | ) |
Definition at line 229 of file oct-syscalls.cc.
References octave_wcontinue_wrapper().
Referenced by FWCONTINUE().
OCTAVE_API int octave::sys::wcoredump | ( | int | status | ) |
Definition at line 235 of file oct-syscalls.cc.
References octave_wcoredump_wrapper().
Referenced by FWCOREDUMP().
OCTAVE_API int octave::sys::wexitstatus | ( | int | status | ) |
Definition at line 265 of file oct-syscalls.cc.
References octave_wexitstatus_wrapper().
Referenced by Fsystem(), FWEXITSTATUS(), octave::run_command_and_return_output(), and run_command_and_return_output().
OCTAVE_API bool octave::sys::wifcontinued | ( | int | status | ) |
Definition at line 241 of file oct-syscalls.cc.
References octave_wifcontinued_wrapper().
Referenced by FWIFCONTINUED().
OCTAVE_API bool octave::sys::wifexited | ( | int | status | ) |
Definition at line 247 of file oct-syscalls.cc.
References octave_wifexited_wrapper().
Referenced by Fsystem(), FWIFEXITED(), pager_event_handler(), octave::run_command_and_return_output(), and run_command_and_return_output().
OCTAVE_API bool octave::sys::wifsignaled | ( | int | status | ) |
Definition at line 253 of file oct-syscalls.cc.
References octave_wifsignaled_wrapper().
Referenced by FWIFSIGNALED(), and pager_event_handler().
OCTAVE_API bool octave::sys::wifstopped | ( | int | status | ) |
Definition at line 259 of file oct-syscalls.cc.
References octave_wifstopped_wrapper().
Referenced by FWIFSTOPPED().
OCTAVE_API string_vector octave::sys::windows_glob | ( | const string_vector & | pat | ) |
Definition at line 207 of file oct-glob.cc.
References octave::sys::file_ops::dir_sep_char(), octave::sys::file_ops::dir_sep_chars(), octave::sys::file_ops::is_dir_sep(), len, string_vector::numel(), octave_create_glob_info_struct(), octave_destroy_glob_info_struct(), octave_glob_match_list(), octave_glob_nosort_wrapper(), octave_glob_num_matches(), octave_glob_wrapper(), octave_globfree_wrapper(), string_vector::resize(), octave::single_match_exists(), string_vector::sort(), and u8_to_wstring().
Referenced by F__wglob__().
OCTAVE_API int octave::sys::wnohang | ( | void | ) |
Definition at line 271 of file oct-syscalls.cc.
References octave_wnohang_wrapper().
Referenced by FWNOHANG(), and octave::child_list::wait().
OCTAVE_API int octave::sys::wstopsig | ( | int | status | ) |
Definition at line 277 of file oct-syscalls.cc.
References octave_wstopsig_wrapper().
Referenced by FWSTOPSIG().
OCTAVE_API int octave::sys::wtermsig | ( | int | status | ) |
Definition at line 283 of file oct-syscalls.cc.
References octave_wtermsig_wrapper().
Referenced by FWTERMSIG().
OCTAVE_API int octave::sys::wuntraced | ( | void | ) |
Definition at line 289 of file oct-syscalls.cc.
References octave_wuntraced_wrapper().
Referenced by FWUNTRACED().