GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
file-ops.h File Reference
#include <string>
#include <sys/types.h>
#include "str-vec.h"
Include dependency graph for file-ops.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  file_ops
 

Functions

OCTAVE_API std::string octave_canonicalize_file_name (const std::string &)
 
OCTAVE_API std::string octave_canonicalize_file_name (const std::string &, std::string &)
 
OCTAVE_API int octave_link (const std::string &, const std::string &)
 
OCTAVE_API int octave_link (const std::string &, const std::string &, std::string &)
 
OCTAVE_API int octave_mkdir (const std::string &nm, mode_t md)
 
OCTAVE_API int octave_mkdir (const std::string &nm, mode_t md, std::string &msg)
 
OCTAVE_API int octave_mkfifo (const std::string &nm, mode_t md)
 
OCTAVE_API int octave_mkfifo (const std::string &nm, mode_t md, std::string &msg)
 
OCTAVE_API int octave_readlink (const std::string &, std::string &)
 
OCTAVE_API int octave_readlink (const std::string &, std::string &, std::string &)
 
OCTAVE_API int octave_recursive_rmdir (const std::string &)
 
OCTAVE_API int octave_recursive_rmdir (const std::string &, std::string &)
 
OCTAVE_API int octave_rename (const std::string &, const std::string &)
 
OCTAVE_API int octave_rename (const std::string &, const std::string &, std::string &)
 
OCTAVE_API int octave_rmdir (const std::string &)
 
OCTAVE_API int octave_rmdir (const std::string &, std::string &)
 
OCTAVE_API int octave_symlink (const std::string &, const std::string &)
 
OCTAVE_API int octave_symlink (const std::string &, const std::string &, std::string &)
 
OCTAVE_API std::string octave_tempnam (const std::string &, const std::string &)
 
OCTAVE_API std::string octave_tempnam (const std::string &, const std::string &, std::string &)
 
OCTAVE_API int octave_umask (mode_t)
 
OCTAVE_API int octave_unlink (const std::string &)
 
OCTAVE_API int octave_unlink (const std::string &, std::string &)
 

Function Documentation

OCTAVE_API std::string octave_canonicalize_file_name ( const std::string &  )
OCTAVE_API std::string octave_canonicalize_file_name ( const std::string &  ,
std::string &   
)

Definition at line 727 of file file-ops.cc.

References free().

OCTAVE_API int octave_link ( const std::string &  ,
const std::string &   
)

Definition at line 440 of file file-ops.cc.

References octave_link().

Referenced by Flink(), and octave_link().

OCTAVE_API int octave_link ( const std::string &  ,
const std::string &  ,
std::string &   
)

Definition at line 447 of file file-ops.cc.

References link().

OCTAVE_API int octave_mkdir ( const std::string &  nm,
mode_t  md 
)

Definition at line 392 of file file-ops.cc.

References octave_mkdir().

Referenced by Fmkdir(), base_url_transfer::mget_directory(), and octave_mkdir().

OCTAVE_API int octave_mkdir ( const std::string &  nm,
mode_t  md,
std::string &  msg 
)

Definition at line 399 of file file-ops.cc.

OCTAVE_API int octave_mkfifo ( const std::string &  nm,
mode_t  md 
)

Definition at line 414 of file file-ops.cc.

References octave_mkfifo().

Referenced by Fmkfifo(), and octave_mkfifo().

OCTAVE_API int octave_mkfifo ( const std::string &  nm,
mode_t  md,
std::string &  msg 
)

Definition at line 421 of file file-ops.cc.

OCTAVE_API int octave_readlink ( const std::string &  ,
std::string &   
)

Definition at line 486 of file file-ops.cc.

References octave_readlink().

Referenced by Freadlink(), and octave_readlink().

OCTAVE_API int octave_readlink ( const std::string &  ,
std::string &  ,
std::string &   
)

Definition at line 493 of file file-ops.cc.

References MAXPATHLEN.

OCTAVE_API int octave_recursive_rmdir ( const std::string &  )

Definition at line 564 of file file-ops.cc.

References octave_recursive_rmdir().

Referenced by Frmdir(), and octave_recursive_rmdir().

OCTAVE_API int octave_recursive_rmdir ( const std::string &  ,
std::string &   
)
OCTAVE_API int octave_rename ( const std::string &  ,
const std::string &   
)

Definition at line 517 of file file-ops.cc.

References octave_rename().

Referenced by Frename(), and octave_rename().

OCTAVE_API int octave_rename ( const std::string &  ,
const std::string &  ,
std::string &   
)

Definition at line 524 of file file-ops.cc.

OCTAVE_API int octave_rmdir ( const std::string &  )

Definition at line 540 of file file-ops.cc.

References octave_rmdir().

Referenced by Frmdir(), octave_recursive_rmdir(), and octave_rmdir().

OCTAVE_API int octave_rmdir ( const std::string &  ,
std::string &   
)

Definition at line 547 of file file-ops.cc.

OCTAVE_API int octave_symlink ( const std::string &  ,
const std::string &   
)

Definition at line 463 of file file-ops.cc.

References octave_symlink().

Referenced by Fsymlink(), and octave_symlink().

OCTAVE_API int octave_symlink ( const std::string &  ,
const std::string &  ,
std::string &   
)

Definition at line 470 of file file-ops.cc.

OCTAVE_API std::string octave_tempnam ( const std::string &  ,
const std::string &   
)
OCTAVE_API std::string octave_tempnam ( const std::string &  ,
const std::string &  ,
std::string &   
)
OCTAVE_API int octave_umask ( mode_t  )

Definition at line 639 of file file-ops.cc.

Referenced by Fumask().

OCTAVE_API int octave_unlink ( const std::string &  )
OCTAVE_API int octave_unlink ( const std::string &  ,
std::string &   
)

Definition at line 656 of file file-ops.cc.