Classes | Macros | Typedefs | Functions
os.h File Reference
#include <cerrno>
#include <clocale>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include <system_error>
#include "format.h"
Include dependency graph for os.h:

Go to the source code of this file.

Classes

class  basic_cstring_view< Char >
 
class  buffered_file
 
struct  formatter< std::error_code, Char >
 

Macros

#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)
 
#define FMT_SYSTEM(call)   ::call
 
#define FMT_USE_FCNTL   0
 

Typedefs

using cstring_view = basic_cstring_view< char >
 
using wcstring_view = basic_cstring_view< wchar_t >
 

Functions

const std::error_category & system_category () FMT_NOEXCEPT
 

Macro Definition Documentation

◆ FMT_POSIX

#define FMT_POSIX (   call)    call

Definition at line 42 of file os.h.

◆ FMT_POSIX_CALL

#define FMT_POSIX_CALL (   call)    ::call

Definition at line 55 of file os.h.

◆ FMT_RETRY

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

Definition at line 70 of file os.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 62 of file os.h.

◆ FMT_SYSTEM

#define FMT_SYSTEM (   call)    ::call

Definition at line 50 of file os.h.

◆ FMT_USE_FCNTL

#define FMT_USE_FCNTL   0

Definition at line 34 of file os.h.

Typedef Documentation

◆ cstring_view

Definition at line 119 of file os.h.

◆ wcstring_view

Definition at line 120 of file os.h.

Function Documentation

◆ system_category()

const std::error_category& system_category ( )
inline

Definition at line 210 of file os.h.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:12:54