TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
posix.h File Reference
#include <errno.h>
#include <fcntl.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <cstddef>
#include "format.h"
+ Include dependency graph for posix.h:

Go to the source code of this file.

Classes

class  fmt::ErrorCode
 
class  fmt::BufferedFile
 
struct  fmt::BufferedFile::Proxy
 
class  fmt::File
 
struct  fmt::File::Proxy
 

Namespaces

 fmt
 

Macros

#define FMT_POSIX(call)   call
 
#define FMT_SYSTEM(call)   call
 
#define FMT_POSIX_CALL(call)   ::call
 
#define FMT_UNUSED
 
#define FMT_USE_STATIC_ASSERT   0
 
#define FMT_CONCAT_(a, b)   FMT_CONCAT(a, b)
 
#define FMT_STATIC_ASSERT(cond, message)   typedef int FMT_CONCAT_(Assert, __LINE__)[(cond) ? 1 : -1] FMT_UNUSED
 
#define FMT_RETRY_VAL(result, expression, error_result)
 
#define FMT_RETRY(result, expression)   FMT_RETRY_VAL(result, expression, -1)
 

Functions

long fmt::getpagesize ()
 
fmt::BufferedFilestd::move (fmt::BufferedFile &f)
 
fmt::Filestd::move (fmt::File &f)
 

Macro Definition Documentation

#define FMT_CONCAT_ (   a,
 
)    FMT_CONCAT(a, b)
#define FMT_POSIX (   call)    call
#define FMT_POSIX_CALL (   call)    ::call
#define FMT_RETRY (   result,
  expression 
)    FMT_RETRY_VAL(result, expression, -1)
#define FMT_RETRY_VAL (   result,
  expression,
  error_result 
)
Value:
do { \
result = (expression); \
} while (result == error_result && errno == EINTR)
#define FMT_STATIC_ASSERT (   cond,
  message 
)    typedef int FMT_CONCAT_(Assert, __LINE__)[(cond) ? 1 : -1] FMT_UNUSED
#define FMT_SYSTEM (   call)    call
#define FMT_UNUSED
#define FMT_USE_STATIC_ASSERT   0