Rosetta
Classes | Macros | Typedefs
os.h File Reference
#include <cerrno>
#include <clocale>
#include <cstddef>
#include <cstdio>
#include <cstdlib>
#include "format.h"

Classes

class  basic_cstring_view< Char >
 
class  error_code
 
class  buffered_file
 

Macros

#define FMT_USE_FCNTL   0
 
#define FMT_POSIX(call)   call
 
#define FMT_SYSTEM(call)   ::call
 
#define FMT_POSIX_CALL(call)   ::call
 
#define FMT_RETRY_VAL(result, expression, error_result)
 
#define FMT_RETRY(result, expression)   FMT_RETRY_VAL(result, expression, -1)
 

Typedefs

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

Macro Definition Documentation

◆ FMT_POSIX

#define FMT_POSIX (   call)    call

◆ FMT_POSIX_CALL

#define FMT_POSIX_CALL (   call)    ::call

◆ FMT_RETRY

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

◆ FMT_RETRY_VAL

#define FMT_RETRY_VAL (   result,
  expression,
  error_result 
)
Value:
do { \
(result) = (expression); \
} while ((result) == (error_result) && errno == EINTR)
result
Definition: format-inl.h:1498

◆ FMT_SYSTEM

#define FMT_SYSTEM (   call)    ::call

◆ FMT_USE_FCNTL

#define FMT_USE_FCNTL   0

Typedef Documentation

◆ cstring_view

◆ wcstring_view