Classes | Macros | Typedefs | Functions
os.h File Reference
#include <cerrno>
#include <cstddef>
#include <cstdio>
#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
 

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

auto system_category () noexcept -> const std::error_category &
 

Macro Definition Documentation

◆ FMT_POSIX

#define FMT_POSIX (   call)    call

Definition at line 45 of file os.h.

◆ FMT_POSIX_CALL

#define FMT_POSIX_CALL (   call)    ::call

Definition at line 59 of file os.h.

◆ FMT_RETRY

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

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

◆ FMT_SYSTEM

#define FMT_SYSTEM (   call)    ::call

Definition at line 54 of file os.h.

◆ FMT_USE_FCNTL

#define FMT_USE_FCNTL   0

Definition at line 36 of file os.h.

Typedef Documentation

◆ cstring_view

Definition at line 123 of file os.h.

◆ wcstring_view

Definition at line 124 of file os.h.

Function Documentation

◆ system_category()

auto system_category ( ) -> const std::error_category&
inlinenoexcept

Definition at line 175 of file os.h.



plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:49