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

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)

Strings library

Null-terminated byte string management Null-terminated multibyte string management Null-terminated wide string management See also C++ documentation for Strings library

float

Usage float type: as the declaration of the type

isnormal

Defined in header <math.h> #define isnormal(arg) /* implementation defined */ (since C99) Determines if the given floating point number arg is normal, i.e. is neither zero, subnormal, infinite, nor NaN. The macro returns an integral value. FLT_EVAL_METHOD is ignored: even if the argument is evaluated with more range and precision than its type, it is first converted to its semantic type, and the classification is based on that. Parameters arg - floating point value

cpowf

Defined in header <complex.h> float complex cpowf( float complex x, float complex y ); (1) (since C99) double complex cpow( double complex x, double complex y ); (2) (since C99) long double complex cpowl( long double complex x, long double complex y ); (3) (since C99) Defined in header <tgmath.h> #define pow( x, y ) (4) (since C99) 1-3) Computes the complex power function xy, with branch cut for the first parameter along the negati

Basic concepts

This section provides definitions for the specific terminology and the concepts used when describing the C programming language. A C program is a sequence of text files (typically header and source files) that contain declarations. They undergo translation to become an executable program, which is executed when the OS calls its main function (unless it is itself the OS or another freestanding program, in which case the entry point is implementation-defined). Certain words in a C program have sp

wcsncmp

Defined in header <wchar.h> int wcsncmp( const wchar_t* lhs, const wchar_t* rhs, size_t count ); (since C95) Compares at most count wide characters of two null-terminated wide strings. The comparison is done lexicographically. Parameters lhs, rhs - pointers to the null-terminated wide strings to compare count - maximum number of characters to compare Return value Negative value if lhs is less than rhs. ​0​ if lhs is equal to rhs. Positive value if lhs is

tm

Defined in header <time.h> struct tm; Structure holding a calendar date and time broken down into its components. Member objects int tm_sec seconds after the minute – [0, 61](until C99) / [0, 60] (since C99)[note 1] int tm_min minutes after the hour – [0, 59] int tm_hour hours since midnight – [0, 23] int tm_mday day of the month – [1, 31] int tm_mon months since January – [0, 11] int tm_year years since 1900 int tm_wday days since Sunday – [0,

kill_dependency

Defined in header <stdatomic.h> A kill_dependency(A y); (since C11) Informs the compiler that the dependency tree started by an memory_order_consume atomic load operation does not extend past the return value of kill_dependency; that is, the argument does not carry a dependency into the return value. The function is implemented as a macro. A is the type of y. Parameters y - the expression whose return value is to be removed from a dependency tree Return value