#include <os/atomic.h>
os/atomic.h
@file <os/atomic.h>
@brief
Small header that helps write code that works with both C11 and C++11,
or pre-C11 type declarations.
@discussion
The macros below allow to write code like this, that can be put in a header
and will work with both C11 and C++11:
<code>
struct old_type {
int atomic_field;
} old_variable;
os_atomic_std(atomic_fetch_add_explicit)(
os_cast_to_atomic_pointer(&old_variable), 1,
os_atomic_std(memory_order_relaxed));
</code>
os/base.h<sys/_types/_os_inline.h>