Hall-D Software  alpha
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
xstream::posix Namespace Reference

POSIX objects and functions. More...

Classes

class  general_error
 errors in POSIX usage More...
 
class  date_format
 stores a strftime format and returns a string representation of the current date More...
 

Functions

void check_return (int code, const std::string &call)
 checks the return code of a syscall and raises apropriate exception if needed More...
 

Detailed Description

POSIX objects and functions.

Function Documentation

void xstream::posix::check_return ( int  code,
const std::string call 
)

checks the return code of a syscall and raises apropriate exception if needed

Parameters
codeerror code
callname of syscall

Definition at line 61 of file posix.cpp.

References LOG, and string.