Flow123d  JS_before_hm-1921-g7df00d392
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

◆ FMT_CONCAT_

#define FMT_CONCAT_ (   a,
 
)    FMT_CONCAT(a, b)

Definition at line 86 of file posix.h.

◆ FMT_POSIX

#define FMT_POSIX (   call)    call

Definition at line 55 of file posix.h.

◆ FMT_POSIX_CALL

#define FMT_POSIX_CALL (   call)    ::call

Definition at line 68 of file posix.h.

◆ FMT_RETRY

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

Definition at line 102 of file posix.h.

◆ FMT_RETRY_VAL

#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.

◆ FMT_STATIC_ASSERT

#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.

◆ FMT_SYSTEM

#define FMT_SYSTEM (   call)    call

Definition at line 63 of file posix.h.

◆ FMT_UNUSED

#define FMT_UNUSED

Definition at line 75 of file posix.h.

◆ FMT_USE_STATIC_ASSERT

#define FMT_USE_STATIC_ASSERT   0

Definition at line 79 of file posix.h.