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, std::string &msg)
OCTAVE_API int octave_mkdir (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_mkfifo (const std::string &nm, mode_t md)
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 &, std::string &)
OCTAVE_API int octave_recursive_rmdir (const 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 &, std::string &)
OCTAVE_API int octave_symlink (const std::string &, const std::string &)
OCTAVE_API std::string octave_tempnam (const std::string &, const std::string &, std::string &)
OCTAVE_API std::string octave_tempnam (const std::string &, const 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 &   ) 

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

References octave_canonicalize_file_name().

Referenced by DEFUNX(), and octave_canonicalize_file_name().

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

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

References octave_link().

Referenced by DEFUNX(), and octave_link().

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

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

References link().

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

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

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

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

References octave_mkdir().

Referenced by DEFUNX(), and octave_mkdir().

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

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

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

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

References octave_mkfifo().

Referenced by DEFUNX(), and octave_mkfifo().

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

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

References octave_readlink().

Referenced by DEFUNX(), and octave_readlink().

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

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

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

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

References octave_recursive_rmdir().

Referenced by DEFUNX(), and octave_recursive_rmdir().

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

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

References octave_rename().

Referenced by DEFUNX(), and octave_rename().

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

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

OCTAVE_API int octave_rmdir ( const std::string &   ) 

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

References octave_rmdir().

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

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

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

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

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

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

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

References octave_symlink().

Referenced by DEFUNX(), and octave_symlink().

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

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

References tempnam().

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

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

References octave_tempnam().

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

OCTAVE_API int octave_umask ( mode_t   ) 

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

Referenced by DEFUNX().

OCTAVE_API int octave_unlink ( const std::string &   ) 

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

References octave_unlink().

Referenced by DEFUNX(), octave_recursive_rmdir(), and octave_unlink().

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

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

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines