GNU Octave  3.8.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 686 of file file-ops.cc.

References octave_env::make_absolute(), OCTAVE_LOCAL_BUFFER, and PATH_MAX.

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

Definition at line 415 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 422 of file file-ops.cc.

References link().

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

Definition at line 367 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 374 of file file-ops.cc.

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

Definition at line 389 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 396 of file file-ops.cc.

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

Definition at line 461 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 468 of file file-ops.cc.

References MAXPATHLEN.

OCTAVE_API int octave_recursive_rmdir ( const std::string &  )

Definition at line 539 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 492 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 499 of file file-ops.cc.

OCTAVE_API int octave_rmdir ( const std::string &  )

Definition at line 515 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 522 of file file-ops.cc.

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

Definition at line 438 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 445 of file file-ops.cc.

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

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

References octave_tempnam().

Referenced by Ftmpnam(), mk_tmp_hist_file(), and octave_tempnam().

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

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

References tempnam().

OCTAVE_API int octave_umask ( mode_t  )

Definition at line 614 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 631 of file file-ops.cc.