blocxx
BLOCXX_NAMESPACE::ExceptionDetail Namespace Reference

Classes

struct  dummy
 
struct  Errno
 
class  FormatMsg
 
struct  FormatMsgImpl
 

Typedefs

typedef int(* posix_fct) (int, char *, ::std::size_t)
 
typedef char *(* gnu_fct) (int, char *, ::std::size_t)
 
typedef int(* aix_fct) (int, char *, int)
 

Functions

template<typename Dummy>
int strerror_r_wrap (posix_fct strerror_r, int errnum, char *buf, unsigned n, Dummy)
 
template<typename Dummy>
int strerror_r_wrap (aix_fct strerror_r, int errnum, char *buf, unsigned n, Dummy)
 
template<typename Dummy>
int strerror_r_wrap (gnu_fct strerror_r, int errnum, char *buf, unsigned n, Dummy)
 
void portable_strerror_r (int errnum, char *buf, unsigned n)
 

Variables

struct BLOCXX_COMMON_API FormatMsgImpl
 
unsigned const BUFSZ = 1024
 

Typedef Documentation

◆ aix_fct

typedef int(* BLOCXX_NAMESPACE::ExceptionDetail::aix_fct) (int, char *, int)

Definition at line 328 of file Exception.cpp.

◆ gnu_fct

typedef char *(* BLOCXX_NAMESPACE::ExceptionDetail::gnu_fct) (int, char *, ::std::size_t)

Definition at line 327 of file Exception.cpp.

◆ posix_fct

typedef int(* BLOCXX_NAMESPACE::ExceptionDetail::posix_fct) (int, char *, ::std::size_t)

Definition at line 326 of file Exception.cpp.

Function Documentation

◆ portable_strerror_r()

BLOCXX_COMMON_API void BLOCXX_NAMESPACE::ExceptionDetail::portable_strerror_r ( int errnum,
char * buf,
unsigned n )

◆ strerror_r_wrap() [1/3]

template<typename Dummy>
int BLOCXX_NAMESPACE::ExceptionDetail::strerror_r_wrap ( aix_fct strerror_r,
int errnum,
char * buf,
unsigned n,
Dummy  )
inline

Definition at line 347 of file Exception.cpp.

◆ strerror_r_wrap() [2/3]

template<typename Dummy>
int BLOCXX_NAMESPACE::ExceptionDetail::strerror_r_wrap ( gnu_fct strerror_r,
int errnum,
char * buf,
unsigned n,
Dummy  )
inline

Definition at line 355 of file Exception.cpp.

◆ strerror_r_wrap() [3/3]

template<typename Dummy>
int BLOCXX_NAMESPACE::ExceptionDetail::strerror_r_wrap ( posix_fct strerror_r,
int errnum,
char * buf,
unsigned n,
Dummy  )
inline

Definition at line 339 of file Exception.cpp.

Referenced by portable_strerror_r().

Variable Documentation

◆ BUFSZ

unsigned const BLOCXX_NAMESPACE::ExceptionDetail::BUFSZ = 1024

◆ FormatMsgImpl

struct BLOCXX_COMMON_API BLOCXX_NAMESPACE::ExceptionDetail::FormatMsgImpl

Definition at line 196 of file Exception.hpp.