WPILibC++ 2025.2.1
Loading...
Searching...
No Matches
os.h File Reference
#include "format.h"
#include <cerrno>
#include <cstddef>
#include <cstdio>
#include <system_error>

Go to the source code of this file.

Classes

class  basic_cstring_view< Char >
 A reference to a null-terminated string. More...
 
class  buffered_file
 

Macros

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

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)
Value:
call

◆ FMT_POSIX_CALL

#define FMT_POSIX_CALL ( call)
Value:
::call

◆ FMT_RETRY

#define FMT_RETRY ( result,
expression )
Value:
FMT_RETRY_VAL(result, expression, -1)
#define FMT_RETRY_VAL(result, expression, error_result)
Definition os.h:66

◆ 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)
Value:
::call

◆ FMT_USE_FCNTL

#define FMT_USE_FCNTL   0

Typedef Documentation

◆ cstring_view

◆ wcstring_view

Function Documentation

◆ system_category()

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