Puma Reference Manual Puma::SysCall Class Reference



Puma::SysCall Class Reference

#include <SysCall.h>

Public Member Functions

 SysCall ()
 

Static Public Member Functions

static const char * mktemp (const char *prefix, ErrorSink *=(ErrorSink *) 0)
 
static int open_excl (const char *, int, ErrorSink *=(ErrorSink *) 0)
 
static int create_excl (const char *, int, ErrorSink *=(ErrorSink *) 0)
 
static bool close_excl (int, ErrorSink *=(ErrorSink *) 0)
 
static int open (const char *, int, ErrorSink *=(ErrorSink *) 0)
 
static int create (const char *, int, ErrorSink *=(ErrorSink *) 0)
 
static bool close (int, ErrorSink *=(ErrorSink *) 0)
 
static long read (int, void *, size_t, ErrorSink *=(ErrorSink *) 0)
 
static bool stat (const char *, FileInfo &, ErrorSink *=(ErrorSink *) 0)
 
static bool fstat (int, FileInfo &, ErrorSink *=(ErrorSink *) 0)
 
static char * readlink (const char *, char *, size_t, ErrorSink *=(ErrorSink *) 0)
 
static FileHandle fopen (const char *, const char *, ErrorSink *=(ErrorSink *) 0)
 
static bool fclose (FileHandle, ErrorSink *=(ErrorSink *) 0)
 
static DirHandle opendir (const char *, ErrorSink *=(ErrorSink *) 0)
 
static bool closedir (DirHandle, ErrorSink *=(ErrorSink *) 0)
 
static const char * readdir (DirHandle, DirEntryType *det=0, ErrorSink *=(ErrorSink *) 0)
 
static bool chdir (const char *, ErrorSink *=(ErrorSink *) 0)
 
static bool mkdir (const char *, ErrorSink *=(ErrorSink *) 0)
 
static char * getcwd (char *, size_t, ErrorSink *=(ErrorSink *) 0)
 
static time_t time (time_t *, ErrorSink *=(ErrorSink *) 0)
 
static void MakeUnixPath (char *)
 
static void MakeDosPath (char *)
 
static bool canonical (Filename filename, Filename &result, ErrorSink *=0)
 

Constructor & Destructor Documentation

Puma::SysCall::SysCall ( )
inline

Member Function Documentation

static bool Puma::SysCall::canonical ( Filename  filename,
Filename result,
ErrorSink = 0 
)
static
static bool Puma::SysCall::chdir ( const char *  ,
ErrorSink = (ErrorSink *) 0 
)
static
static bool Puma::SysCall::close ( int  ,
ErrorSink = (ErrorSink *) 0 
)
static
static bool Puma::SysCall::close_excl ( int  ,
ErrorSink = (ErrorSink *) 0 
)
static
static bool Puma::SysCall::closedir ( DirHandle  ,
ErrorSink = (ErrorSink *) 0 
)
static
static int Puma::SysCall::create ( const char *  ,
int  ,
ErrorSink = (ErrorSink *) 0 
)
static
static int Puma::SysCall::create_excl ( const char *  ,
int  ,
ErrorSink = (ErrorSink *) 0 
)
static
static bool Puma::SysCall::fclose ( FileHandle  ,
ErrorSink = (ErrorSink *) 0 
)
static
static FileHandle Puma::SysCall::fopen ( const char *  ,
const char *  ,
ErrorSink = (ErrorSink *) 0 
)
static
static bool Puma::SysCall::fstat ( int  ,
FileInfo ,
ErrorSink = (ErrorSink *) 0 
)
static
static char* Puma::SysCall::getcwd ( char *  ,
size_t  ,
ErrorSink = (ErrorSink *) 0 
)
static
static void Puma::SysCall::MakeDosPath ( char *  )
static
static void Puma::SysCall::MakeUnixPath ( char *  )
static
static bool Puma::SysCall::mkdir ( const char *  ,
ErrorSink = (ErrorSink *) 0 
)
static
static const char* Puma::SysCall::mktemp ( const char *  prefix,
ErrorSink = (ErrorSink *) 0 
)
static
static int Puma::SysCall::open ( const char *  ,
int  ,
ErrorSink = (ErrorSink *) 0 
)
static
static int Puma::SysCall::open_excl ( const char *  ,
int  ,
ErrorSink = (ErrorSink *) 0 
)
static
static DirHandle Puma::SysCall::opendir ( const char *  ,
ErrorSink = (ErrorSink *) 0 
)
static
static long Puma::SysCall::read ( int  ,
void *  ,
size_t  ,
ErrorSink = (ErrorSink *) 0 
)
static
static const char* Puma::SysCall::readdir ( DirHandle  ,
DirEntryType det = 0,
ErrorSink = (ErrorSink *) 0 
)
static
static char* Puma::SysCall::readlink ( const char *  ,
char *  ,
size_t  ,
ErrorSink = (ErrorSink *) 0 
)
static
static bool Puma::SysCall::stat ( const char *  ,
FileInfo ,
ErrorSink = (ErrorSink *) 0 
)
static
static time_t Puma::SysCall::time ( time_t *  ,
ErrorSink = (ErrorSink *) 0 
)
static



Puma Reference Manual. Created on Tue Jan 19 2016.