UCommon
Data Structures | Namespaces | Typedefs | Functions | Variables
ucommon/fsys.h File Reference

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

#include <ucommon/platform.h>
#include <ucommon/protocols.h>
#include <ucommon/thread.h>
#include <ucommon/string.h>
#include <sys/stat.h>
#include <errno.h>
#include <stdio.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.

Data Structures

class  ucommon::charfile
 Access standard files through character protocol. More...
class  ucommon::fsys
 A container for generic and o/s portable threadsafe file system functions. More...

Namespaces

namespace  ucommon
 Common namespace for all ucommon objects.

Typedefs

typedef void * ucommon::dir_t
 Convenience type for directory scan operations.
typedef fsys ucommon::fsys_t
 Convience type for fsys.
typedef void * ucommon::mem_t
 Convenience type for loader operations.

Functions

String ucommon::str (charfile &fp, strsize_t size)

Variables

charfile ucommon::cstderr
charfile ucommon::cstdin
charfile ucommon::cstdout

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.