Flow123d  release_2.2.0-33-g759111d
Classes | Namespaces | Macros | Functions
posix.h File Reference
#include <errno.h>
#include <fcntl.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <cstddef>
#include "system/fmt/format.h"
This graph shows which files directly or indirectly include this file:

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
 
 std
 

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)

Definition at line 86 of file posix.h.

#define FMT_POSIX (   call)    call

Definition at line 55 of file posix.h.

#define FMT_POSIX_CALL (   call)    ::call

Definition at line 68 of file posix.h.

#define FMT_RETRY (   result,
  expression 
)    FMT_RETRY_VAL(result, expression, -1)

Definition at line 102 of file posix.h.

#define FMT_RETRY_VAL (   result,
  expression,
  error_result 
)
Value:
do { \
result = (expression); \
} while (result == error_result && errno == EINTR)

Definition at line 94 of file posix.h.

#define FMT_STATIC_ASSERT (   cond,
  message 
)    typedef int FMT_CONCAT_(Assert, __LINE__)[(cond) ? 1 : -1] FMT_UNUSED

Definition at line 87 of file posix.h.

#define FMT_SYSTEM (   call)    call

Definition at line 63 of file posix.h.

#define FMT_UNUSED

Definition at line 75 of file posix.h.

#define FMT_USE_STATIC_ASSERT   0

Definition at line 79 of file posix.h.