feraiseexcept

Defined in header <<fenv.h>> int feraiseexcept( int excepts ); (since C99) Attempts to raise all floating point exceptions listed in excepts (a bitwise OR of the floating point exception macros). If one of the exceptions is FE_OVERFLOW or FE_UNDERFLOW, this function may additionally raise FE_INEXACT. The order in which the exceptions are raised is unspecified, except that FE_OVERFLOW and FE_UNDERFLOW are always raised before FE_INEXACT. Parameters excepts - bi

mtx_destroy

Defined in header <threads.h> void mtx_destroy( mtx_t *mutex ); (since C11) Destroys the mutex pointed to by mutex. If there are threads waiting on mutex, the behavior is undefined. Parameters mutex - pointer to the mutex to destroy Return value (none). References C11 standard (ISO/IEC 9899:2011): 7.26.4.1 The mtx_destroy function (p: 380)

isless

Defined in header <math.h> #define isless(x, y) /* implementation defined */ (since C99) Determines if the floating point number x is less than the floating-point number y, without setting floating-point exceptions. Parameters x - floating point value y - floating point value Return value Nonzero integral value if x < y, ​0​ otherwise. Notes The built-in operator< for floating-point numbers may raise FE_INVALID if one or both of the arguments is

_Exit

Defined in header <stdlib.h> void _Exit( int exit_code ); (since C99) Causes normal program termination to occur without completely cleaning the resources. Destructors of variables with automatic, thread local and static storage durations are not called. Functions passed to at_quick_exit() or atexit() are not called. Whether open resources such as files are closed is implementation defined. If exit_code is EXIT_FAILURE, an implementation-defined status, indicating unsuccess

C language

This is a reference of the core C language constructs. Basic concepts. Comments ASCII chart Translation phases identifier - scope - lifetime lookup and name spaces type - arithmetic types objects and alignment The main function Memory model and data races. Keywords. Preprocessor. #if - #ifdef - #ifndef #define - # - ## #include - #pragma #line - #error. Statements. if - switch for while - do-while continue - break goto - return. Expressions. Value categories Evaluation or

strcmp

Defined in header <string.h> int strcmp( const char *lhs, const char *rhs ); Compares two null-terminated byte strings lexicographically. The sign of the result is the sign of the difference between the values of the first pair of characters (both interpreted as unsigned char) that differ in the strings being compared. The behavior is undefined if lhs or rhs are not pointers to null-terminated byte strings. Parameters lhs, rhs - pointers to the null-terminated byte

ctanf

Defined in header <complex.h> float complex ctanf( float complex z ); (1) (since C99) double complex ctan( double complex z ); (2) (since C99) long double complex ctanl( long double complex z ); (3) (since C99) Defined in header <tgmath.h> #define tan( z ) (4) (since C99) 1-3) Computes the complex tangent of z. 4) Type-generic macro: If z has type long double complex, ctanl is called. if z has type double complex, ctan is called,

ptrdiff_t

Defined in header <stddef.h> typedef /*implementation-defined*/ ptrdiff_t; ptrdiff_t is the signed integer type of the result of subtracting two pointers. Notes ptrdiff_t is used for pointer arithmetic and array indexing, if negative values are possible. Programs that use other types, such as int, may fail on, e.g. 64-bit systems when the index exceeds INT_MAX or if it relies on 32-bit modular arithmetic. Only pointers to elements of the same array (including the pointer

switch

Usage switch statement: as the declaration of the statement

mtx_plain

Defined in header <threads.h> enum { mtx_plain = /* unspecified */, mtx_recursive = /* unspecified */, mtx_timed = /* unspecified */ }; (since C11) When passed to mtx_init, identifies the type of a mutex to create. Constant Explanation mtx_plain plain mutex mtx_recursive recursive mutex mtx_timed timed mutex References C11 standard (ISO/IEC 9899:2011): 7.26.1/5 mtx_plain, mtx_recursive, mtx_timed (p: 377) See also mtx_init (C11)