FE_DIVBYZERO

Defined in header <<fenv.h>> #define FE_DIVBYZERO /*implementation defined power of 2*/ (since C99) #define FE_INEXACT /*implementation defined power of 2*/ (since C99) #define FE_INVALID /*implementation defined power of 2*/ (since C99) #define FE_OVERFLOW /*implementation defined power of 2*/ (since C99) #define FE_UNDERFLOW /*implementation defined power of 2*/ (since C99) #define FE_ALL_EXCEPT FE_DIVBYZERO | FE_INEXACT |

wmemcmp

Defined in header <wchar.h> int wmemcmp( const wchar_t *lhs, const wchar_t *rhs, size_t count ); (since C95) Compares the first count wide characters of the wide character (or compatible integer type) arrays pointed to by lhs and rhs. The comparison is done lexicographically. The sign of the result is the sign of the difference between the values of the first pair of wide characters that differ in the arrays being compared. If count is zero, the function does nothing. Par

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)

thrd_success

Defined in header <threads.h> enum { thrd_success = /* unspecified */, thrd_nomem = /* unspecified */, thrd_timedout = /* unspecified */, thrd_busy = /* unspecified */, thrd_error = /* unspecified */ }; (since C11) Identifiers a thread error state. Constant Explanation thrd_success indicates successful return value thrd_timedout indicates timed out return value thrd_busy indicates unsuccessful return value due to resource temporary unavail

tss_set

Defined in header <threads.h> int tss_set( tss_t tss_id, void *val ); (since C11) Sets the value of the thread-specific storage identified by tss_id for the current thread to val. Different threads may set different values to the same key. The destructor, if available, is not invoked. Parameters tss_id - thread-specific storage key, obtained from tss_create and not deleted by tss_delete val - value to set thread-specific storage to Return value thrd_succ

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

ungetc

Defined in header <stdio.h> int ungetc( int ch, FILE *stream ); Puts the character ch back to the given file stream. Parameters ch - character to be put back stream - file stream to put the character back to Return value On success ch is returned. On failure EOF is returned and the given stream remains unchanged. Example ungetc with error checking. #include <stdio.h> #include <stdlib.h> int main(void) { FILE* fp = fopen("test.txt",

float

Usage float type: as the declaration of the type

max_align_t

Defined in header <stddef.h> typedef /*implementation-defined*/ max_align_t; (since C11) max_align_t is a type whose alignment requirement is at least as strict (as large) as that of every scalar type. Notes Pointers returned by allocation functions such as malloc are suitably aligned for any object, which means they are aligned at least as strict as max_align_t. max_align_t is usually synonymous with the largest scalar type, which is long double on most platforms, and i

for

Usage for loop: as the declaration of the loop