atomic_fetch_sub

Defined in header <stdatomic.h> C atomic_fetch_sub( volatile A* obj, M arg ); (1) (since C11) C atomic_fetch_sub_explicit( volatile A* obj, M arg, memory_order order ); (2) (since C11) Atomically replaces the value pointed by obj with the result of subtraction of arg from the old value of obj, and returns the value obj held previously. The operation is read-modify-write operation. The first version orders memory accesses according to memory_order_seq_cst, the second v

getenv

Defined in header <stdlib.h> char *getenv( const char *name ); (1) errno_t getenv_s( size_t *restrict len, char *restrict value, rsize_t valuesz, const char *restrict name ); (2) (since C11) 1) Searches for an environmental variable with name name in the host-specified environment list and returns a pointer to the string that is associated with the matched environment variable. The set of environmental variables and methods of altering it are implem

thrd_create

Defined in header <threads.h> int thrd_create( thrd_t *thr, thrd_start_t func, void *arg ); (since C11) Creates a new thread executing the function func. The function is invoked as func(arg). If successful, the object pointed to by thr is set to the identifier of the new thread. The completion of this function synchronizes-with the beginning of the thread. Parameters thr - pointer to memory location to put the identifier of the new thread func - function to ex

fgetc

Defined in header <stdio.h> int fgetc( FILE *stream ); int getc( FILE *stream ); Reads the next character from the given input stream. getc() may be implemented as a macro. Parameters stream - to read the character from Return value The obtained character on success or EOF on failure. If the failure has been caused by end-of-file condition, additionally sets the eof indicator (see feof()) on stream. If the failure has been caused by some other error, set

tss_get

Defined in header <threads.h> void *tss_get( tss_t tss_key ); (since C11) Returns the value held in thread-specific storage for the current thread identified by tss_key. Different threads may get different values identified by the same key. On thread startup (see thrd_create), the values associated with all TSS keys are NULL. Different value may be placed in the thread-specific storage with tss_set. Parameters tss_key - thread-specific storage key, obtained from tss

acosh

Defined in header <math.h> float acoshf( float arg ); (1) (since C99) double acosh( double arg ); (2) (since C99) long double acoshl( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define acosh( arg ) (4) (since C99) 1-3) Computes the inverse hyperbolic cosine of arg. 4) Type-generic macro: If the argument has type long double, acoshl is called. Otherwise, if the argument has integer type or the type double, acos

atomic_exchange

Defined in header <stdatomic.h> C atomic_exchange( volatile A* obj, C desired ); (1) (since C11) C atomic_exchange_explicit( volatile A* obj, C desired, memory_order order ); (2) (since C11) Atomically replaces the value pointed by obj with desired and returns the value obj held previously. The operation is read-modify-write operation. The first version orders memory accesses according to memory_order_seq_cst, the second version orders memory accesses according to ord

nextafter

Defined in header <math.h> float nextafterf( float from, float to ); (1) (since C99) double nextafter( double from, double to ); (2) (since C99) long double nextafterl( long double from, long double to ); (3) (since C99) float nexttowardf( float from, long double to ); (4) (since C99) double nexttoward( double from, long double to ); (5) (since C99) long double nexttowardl( long double from, long double to ); (6) (since C99)

const

Usage const type qualifier

fmin

Defined in header <math.h> float fminf( float x, float y ); (1) (since C99) double fmin( double x, double y ); (2) (since C99) long double fminl( long double x, long double y ); (3) (since C99) Defined in header <tgmath.h> #define fmin( x, y ) (4) (since C99) 1-3) Returns the smaller of two floating point arguments, treating NaNs as missing data (between a NaN and a numeric value, the numeric value is chosen). 4) Type-generic macr