ucommon/fsys.h File Reference

Thread-aware file system manipulation class. More...

#include <ucommon/platform.h>
#include <ucommon/thread.h>
#include <sys/stat.h>
#include <errno.h>
#include <stdio.h>
#include <ucommon/protocols.h>

Include dependency graph for fsys.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  ucommon

Data Structures

class  ucommon::dir
 Convenience class for directories. More...
class  ucommon::dso
 Convenience class for library plugins. More...
class  ucommon::fsys
 A container for generic and o/s portable threadsafe file system functions. More...

Typedefs

typedef dir ucommon::dir_t
typedef dso ucommon::dso_t
typedef fsys ucommon::fsys_t
 Convience type for fsys.
typedef void * ucommon::mem_t
 Convenience type for loader operations.

Functions

bool ucommon::is_device (char *path)
bool ucommon::is_dir (char *path)
bool ucommon::is_executable (char *path)
bool ucommon::is_exists (char *path)
bool ucommon::is_file (char *path)
bool ucommon::is_link (char *path)
bool ucommon::is_readable (char *path)
bool ucommon::is_writable (char *path)


Detailed Description

Thread-aware file system manipulation class.

This is used to provide generic file operations that are OS independent and thread-safe in behavior. This is used in particular to wrap posix calls internally to pth, and to create portable code between MSWINDOWS and Posix low-level file I/O operations.

Definition in file fsys.h.


Generated on 14 Aug 2013 for UCommon by  doxygen 1.4.7