WPILibC++ 2024.3.2
os.h File Reference
#include <cerrno>
#include <cstddef>
#include <cstdio>
#include <system_error>
#include "format.h"

Go to the source code of this file.

Classes

class  basic_cstring_view< Char >
 \rst A reference to a null-terminated string. More...
 
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 >
 

Functions

const std::error_category & system_category () noexcept
 

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)

◆ FMT_SYSTEM

#define FMT_SYSTEM (   call)    ::call

◆ FMT_USE_FCNTL

#define FMT_USE_FCNTL   0

Typedef Documentation

◆ cstring_view

◆ wcstring_view

Function Documentation

◆ system_category()

const std::error_category & system_category ( )
inlinenoexcept