GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
file-ops.cc File Reference
#include <cerrno>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <vector>
#include "canonicalize-file-name-wrapper.h"
#include "areadlink-wrapper.h"
#include "dir-ops.h"
#include "file-ops.h"
#include "file-stat.h"
#include "gen-tempname-wrapper.h"
#include "lo-sysdep.h"
#include "oct-env.h"
#include "oct-locbuf.h"
#include "oct-password.h"
#include "quit.h"
#include "stat-wrappers.h"
#include "str-vec.h"
#include "unistd-wrappers.h"

Go to the source code of this file.

Namespaces

 octave
 
 octave::sys
 
 octave::sys::file_ops
 

Functions

std::string octave::sys::canonicalize_file_name (const std::string &name)
 
std::string octave::sys::canonicalize_file_name (const std::string &name, std::string &msg)
 
std::string octave::sys::file_ops::concat (const std::string &dir, const std::string &file)
 
char octave::sys::file_ops::dev_sep_char ()
 
char octave::sys::file_ops::dir_sep_char ()
 
std::string octave::sys::file_ops::dir_sep_chars ()
 
std::string octave::sys::file_ops::dir_sep_str ()
 
std::string octave::sys::file_ops::dirname (const std::string &path)
 
bool octave::sys::file_ops::is_dev_sep (char c)
 
bool octave::sys::file_ops::is_dir_sep (char c)
 
int octave::sys::link (const std::string &old_name, const std::string &new_name)
 
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)
 
int octave::sys::mkdir (const std::string &nm, mode_t md)
 
int octave::sys::mkfifo (const std::string &name, mode_t mode, std::string &msg)
 
int octave::sys::mkfifo (const std::string &nm, mode_t md)
 
std::string octave::sys::file_ops::native_separator_path (const std::string &path)
 
int octave::sys::readlink (const std::string &path, std::string &result)
 
int octave::sys::readlink (const std::string &path, std::string &result, std::string &msg)
 
int octave::sys::recursive_mkdir (const std::string &name, mode_t mode)
 
int octave::sys::recursive_mkdir (const std::string &name, mode_t mode, std::string &msg)
 
int octave::sys::recursive_rmdir (const std::string &name)
 
int octave::sys::recursive_rmdir (const std::string &name, std::string &msg)
 
int octave::sys::rename (const std::string &from, const std::string &to)
 
int octave::sys::rename (const std::string &from, const std::string &to, std::string &msg)
 
int octave::sys::rmdir (const std::string &name)
 
int octave::sys::rmdir (const std::string &name, std::string &msg)
 
int octave::sys::symlink (const std::string &old_name, const std::string &new_name)
 
int octave::sys::symlink (const std::string &old_name, const std::string &new_name, std::string &msg)
 
std::string octave::sys::file_ops::tail (const std::string &path)
 
std::string octave::sys::tempnam (const std::string &dir, const std::string &pfx)
 
std::string octave::sys::tempnam (const std::string &dir, const std::string &pfx, std::string &msg)
 
std::string octave::sys::file_ops::tilde_expand (const std::string &name)
 
string_vector octave::sys::file_ops::tilde_expand (const string_vector &names)
 
int octave::sys::umask (mode_t mode)
 
int octave::sys::unlink (const std::string &name)
 
int octave::sys::unlink (const std::string &name, std::string &msg)
 

Variables

string_vector octave::sys::file_ops::tilde_additional_prefixes = default_prefixes
 
string_vector octave::sys::file_ops::tilde_additional_suffixes = default_suffixes
 
tilde_expansion_hook octave::sys::file_ops::tilde_expansion_failure_hook = nullptr
 
tilde_expansion_hook octave::sys::file_ops::tilde_expansion_preexpansion_hook = nullptr