LLFIO v2.00
Loading...
Searching...
No Matches
statfs.hpp File Reference

Provides statfs. More...

#include "config.hpp"

Classes

struct  llfio_v2_xxx::statfs_t
 Metadata about a filing system. Unsupported entries are all bits set. More...
 
struct  llfio_v2_xxx::statfs_t::f_flags_t
 

Namespaces

namespace  llfio_v2_xxx
 The LLFIO namespace.
 

Functions

constexpr float llfio_v2_xxx::detail::constexpr_float_allbits_set_nan ()
 

Detailed Description

Provides statfs.

Function Documentation

◆ constexpr_float_allbits_set_nan()

constexpr float llfio_v2_xxx::detail::constexpr_float_allbits_set_nan ( )
inlineconstexpr
47 {
48#if defined(_MSC_VER) && !defined(__clang__)
49 // Not all bits 1, but I can't see how to do better whilst inside constexpr
50 return -NAN;
51#else
52 return -__builtin_nanf("0xffffff"); // all bits 1
53#endif
54 }