GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
file-ops.h File Reference
#include "octave-config.h"
#include <string>
#include <sys/types.h>
#include "str-vec.h"

Go to the source code of this file.

Typedefs

typedef std::string(* tilde_expansion_hook) (const std::string &)
 

Functions

std::string canonicalize_file_name (const std::string &)
 
std::string canonicalize_file_name (const std::string &, std::string &)
 
std::string concat (const std::string &, const std::string &)
 
char dev_sep_char ()
 
char dir_sep_char ()
 
std::string dir_sep_chars ()
 
std::string dir_sep_str ()
 
std::string dirname (const std::string &path)
 
bool is_dev_sep (char c)
 
bool is_dir_sep (char c)
 
int link (const std::string &, const std::string &)
 
int link (const std::string &, const std::string &, std::string &)
 
int mkdir (const std::string &, mode_t)
 
int mkdir (const std::string &, mode_t, std::string &)
 
int mkfifo (const std::string &, mode_t)
 
int mkfifo (const std::string &, mode_t, std::string &)
 
std::string native_separator_path (const std::string &path)
 
int readlink (const std::string &, std::string &)
 
int readlink (const std::string &, std::string &, std::string &)
 
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 &)
 
int recursive_rmdir (const std::string &, std::string &)
 
int rename (const std::string &, const std::string &)
 
int rename (const std::string &, const std::string &, std::string &)
 
int rmdir (const std::string &)
 
int rmdir (const std::string &, std::string &)
 
int symlink (const std::string &, const std::string &)
 
int symlink (const std::string &, const std::string &, std::string &)
 
std::string tail (const std::string &path)
 
std::string tempnam (const std::string &, const std::string &)
 
std::string tempnam (const std::string &, const std::string &, std::string &)
 
std::string tilde_expand (const std::string &)
 
string_vector tilde_expand (const string_vector &)
 
int umask (mode_t)
 
int unlink (const std::string &)
 
int unlink (const std::string &, std::string &)
 

Variables

string_vector tilde_additional_prefixes
 
string_vector tilde_additional_suffixes
 
tilde_expansion_hook tilde_expansion_failure_hook
 
tilde_expansion_hook tilde_expansion_preexpansion_hook
 

Typedef Documentation

◆ tilde_expansion_hook

typedef std::string(* tilde_expansion_hook) (const std::string &)

Definition at line 43 of file file-ops.h.

Function Documentation

◆ canonicalize_file_name() [1/2]

std::string canonicalize_file_name ( const std::string &  )

◆ canonicalize_file_name() [2/2]

std::string canonicalize_file_name ( const std::string &  ,
std::string &   
)

◆ concat()

std::string concat ( const std::string &  ,
const std::string &   
)

◆ dev_sep_char()

char dev_sep_char ( )

◆ dir_sep_char()

◆ dir_sep_chars()

◆ dir_sep_str()

◆ dirname()

◆ is_dev_sep()

bool is_dev_sep ( char  c)

◆ is_dir_sep()

bool is_dir_sep ( char  c)

◆ link() [1/2]

int link ( const std::string &  ,
const std::string &   
)

◆ link() [2/2]

int link ( const std::string &  ,
const std::string &  ,
std::string &   
)

◆ mkdir() [1/2]

int mkdir ( const std::string &  ,
mode_t   
)

◆ mkdir() [2/2]

int mkdir ( const std::string &  ,
mode_t  ,
std::string &   
)

◆ mkfifo() [1/2]

int mkfifo ( const std::string &  ,
mode_t   
)

◆ mkfifo() [2/2]

int mkfifo ( const std::string &  ,
mode_t  ,
std::string &   
)

◆ native_separator_path()

std::string native_separator_path ( const std::string &  path)

Referenced by F__fltk_uigetfile__().

◆ readlink() [1/2]

int readlink ( const std::string &  ,
std::string &   
)

◆ readlink() [2/2]

int readlink ( const std::string &  ,
std::string &  ,
std::string &   
)

◆ recursive_mkdir() [1/2]

int recursive_mkdir ( const std::string &  name,
mode_t  mode 
)

◆ recursive_mkdir() [2/2]

int recursive_mkdir ( const std::string &  name,
mode_t  mode,
std::string &  msg 
)

◆ recursive_rmdir() [1/2]

int recursive_rmdir ( const std::string &  )

◆ recursive_rmdir() [2/2]

int recursive_rmdir ( const std::string &  ,
std::string &   
)

◆ rename() [1/2]

int rename ( const std::string &  ,
const std::string &   
)

◆ rename() [2/2]

int rename ( const std::string &  ,
const std::string &  ,
std::string &   
)

◆ rmdir() [1/2]

int rmdir ( const std::string &  )

◆ rmdir() [2/2]

int rmdir ( const std::string &  ,
std::string &   
)

◆ symlink() [1/2]

int symlink ( const std::string &  ,
const std::string &   
)

◆ symlink() [2/2]

int symlink ( const std::string &  ,
const std::string &  ,
std::string &   
)

◆ tail()

std::string tail ( const std::string &  path)

◆ tempnam() [1/2]

std::string tempnam ( const std::string &  ,
const std::string &   
)

◆ tempnam() [2/2]

std::string tempnam ( const std::string &  ,
const std::string &  ,
std::string &   
)

◆ tilde_expand() [1/2]

std::string tilde_expand ( const std::string &  )

◆ tilde_expand() [2/2]

string_vector tilde_expand ( const string_vector )

◆ umask()

int umask ( mode_t  )

Referenced by octave_umask_wrapper().

◆ unlink() [1/2]

int unlink ( const std::string &  )

◆ unlink() [2/2]

int unlink ( const std::string &  ,
std::string &   
)

Variable Documentation

◆ tilde_additional_prefixes

string_vector tilde_additional_prefixes
extern

◆ tilde_additional_suffixes

string_vector tilde_additional_suffixes
extern

◆ tilde_expansion_failure_hook

tilde_expansion_hook tilde_expansion_failure_hook
extern

◆ tilde_expansion_preexpansion_hook

tilde_expansion_hook tilde_expansion_preexpansion_hook
extern