FE_DOWNWARD

Defined in header <<fenv.h>> #define FE_DOWNWARD /*implementation defined*/ (since C99) #define FE_TONEAREST /*implementation defined*/ (since C99) #define FE_TOWARDZERO /*implementation defined*/ (since C99) #define FE_UPWARD /*implementation defined*/ (since C99) Each of these macro constants expands to a nonnegative integer constant expression, which can be used with fesetround and fegetround to indicate one of the supported floatin

atomic_thread_fence

Defined in header <stdatomic.h> void atomic_thread_fence( memory_order order ); (since C11) Establishes memory synchronization ordering of non-atomic and relaxed atomic accesses, as instructed by order, without an associated atomic operation. For example, all non-atomic and relaxed atomic stores that happen before a memory_order_release fence in thread A will be synchronized with non-atomic and relaxed atomic loads from the same locations made in thread B after an memory_or

atomic_load

Defined in header <stdatomic.h> C atomic_load( const volatile A* obj ); (1) (since C11) C atomic_load_explicit( const volatile A* obj, memory_order order ); (2) (since C11) Atomically loads and returns the current value of the atomic variable pointed to by obj. The operation is atomic read operation. The first version orders memory accesses according to memory_order_seq_cst, the second version orders memory accesses according to order. order must be one of memory_orde

_Noreturn function specifier

Specifies that the function does not return to its point of invocation. Syntax _Noreturn function_declaration (since C11) Explanation The _Noreturn keyword appears in a function declaration and specifies that the function does not return by executing the return statement or by reaching the end of the function body (it may return by executing longjmp). If the function declared _Noreturn returns, the behavior is undefined. A compiler diagnostic is recommended if this can be detected

timespec

Defined in header <time.h> struct timespec; (since C11) Structure holding an interval broken down into seconds and nanoseconds. Member objects time_t tv_sec whole seconds – >= 0 long tv_nsec nanoseconds – [0, 999999999] References C11 standard (ISO/IEC 9899:2011): 7.27.1/3 Components of time (p: 388) See also timespec_get (since C11) returns the calendar time based on a given time base (function) tm calendar time type (struct)

cnd_destroy

Defined in header <threads.h> void cnd_destroy( cnd_t* cond ); (since C11) Destroys the condition variable pointed to by cond. If there are threads waiting on cond, the behavior is undefined. Parameters cond - pointer to the condition variable to destroy Return value (none). References C11 standard (ISO/IEC 9899:2011): 7.26.3.2 The cnd_destroy function (p: 378-379)

time_t

Defined in header <time.h> typedef /* unspecified */ time_t; Arithmetic (until C11) Real (since C11) type capable of representing times. Although not defined by the C standard, this is almost always an integral value holding the number of seconds (not counting leap seconds) since 00:00, Jan 1 1970 UTC, corresponding to POSIX time. Notes The standard uses the term calendar time when referring to a value of type time_t. Example Show the start of the epoch. #include &l

strftime

Defined in header <time.h> size_t strftime( char * str, size_t count, const char * format, const struct tm * time ); (until C99) size_t strftime( char *restrict str, size_t count, const char *restrict format, const struct tm *restrict time ); (since C99) Converts the date and time information from a given calendar time time to a null-terminated multibyte character string str according to format string format.

wmemset

Defined in header <wchar.h> wchar_t *wmemset( wchar_t *dest, wchar_t ch, size_t count ); (since C95) Copies the wide character ch into each of the first count wide characters of the wide character array (or integer array of compatible type) pointed to by dest. If overflow occurs, the behavior is undefined. If count is zero, the function does nothing. Parameters dest - pointer to the wide character array to fill ch - fill wide character count - number of

ATOMIC_VAR_INIT

Defined in header <stdatomic.h> #define ATOMIC_VAR_INIT(value) /* unspecified */ (since C11) Expands to an expression that can be used to initialize an atomic variable of the same type as value. The initial value of atomic object of automatic storage duration that is not initialized using this macro is undefined. The default (zero) initialization of static and thread-local variables produces valid value however. If this macro is not used for initialization of an atomic vari