toupper

Defined in header <ctype.h> int toupper( int ch ); Converts the given character to uppercase according to the character conversion rules defined by the currently installed C locale. In the default "C" locale, the following lowercase letters abcdefghijklmnopqrstuvwxyz are replaced with respective uppercase letters ABCDEFGHIJKLMNOPQRSTUVWXYZ. Parameters ch - character to be converted. If the value of ch is not representable as unsigned char and does not equal EOF, the

cnd_wait

Defined in header <threads.h> int cnd_wait( cnd_t* cond, mtx_t* mutex ); (since C11) Atomically unlocks the mutex pointed to by mutex and blocks on the condition variable pointed to by cond until the thread is signalled by cnd_signal or cnd_broadcast. The mutex is locked again before the function returns. The behavior is undefined if the mutex is not already locked by the calling thread. Parameters cond - pointer to the condition variable to block on mutex - p

fmax

Defined in header <math.h> float fmaxf( float x, float y ); (1) (since C99) double fmax( double x, double y ); (2) (since C99) long double fmaxl( long double x, long double y ); (3) (since C99) Defined in header <tgmath.h> #define fmax( x, y ) (4) (since C99) 1-3) Returns the larger 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 macro

casinf

Defined in header <complex.h> float complex casinf( float complex z ); (1) (since C99) double complex casin( double complex z ); (2) (since C99) long double complex casinl( long double complex z ); (3) (since C99) Defined in header <tgmath.h> #define asin( z ) (4) (since C99) 1-3) Computes the complex arc sine of z with branch cuts outside the interval [−1,+1] along the real axis. 4) Type-generic macro: If z has type long double c

Statements

Statements are fragments of the C program that are executed in sequence. The body of any function is a compound statement, which, in turn is a sequence of statements and declarations: int main(void) { // start of a compound statement int n = 1; // declaration (not a statement) n = n+1; // expression statement printf("n = %d\n", n); // expression statement return 0; // return statement } // end of compound statement, end of function body There are five types of statements: 1) c

setvbuf

Defined in header <stdio.h> int setvbuf( FILE * stream, char * buffer, int mode, size_t size ); (until C99) int setvbuf( FILE *restrict stream, char *restrict buffer, int mode, size_t size ); (since C99) Changes the the buffering mode of the given file stream stream as indicated by the argument mode. In addition, If if buffer is a null pointer, resizes of the internal buffer to size. If buffer is not a null pointer, instr

wmemmove

Defined in header <wchar.h> wchar_t* wmemmove( wchar_t* dest, const wchar_t* src, size_t count ); (1) (since C95) errno_t wmemmove_s( wchar_t *dest, rsize_t destsz, const wchar_t *src, rsize_t count); (2) (since C11) 1) Copies exactly count successive wide characters from the wide character array pointed to by src to the wide character array pointed to by dest. If count is zero, the function does nothing. The arrays may overlap: copying takes plac

Order of evaluation

Order of evaluation of the operands of any C operator, including the order of evaluation of function arguments in a function-call expression, and the order of evaluation of the subexpressions within any expression is unspecified (except where noted below). The compiler will evaluate them in any order, and may choose another order when the same expression is evaluated again. There is no concept of left-to-right or right-to-left evaluation in C, which is not to be confused with left-to-right and

wcsstr

Defined in header <wchar.h> wchar_t* wcsstr( const wchar_t* dest, const wchar_t* src ); (since C95) Finds the first occurrence of the wide string src in the wide string pointed to by dest. The terminating null characters are not compared. Parameters dest - pointer to the null-terminated wide string to examine src - pointer to the null-terminated wide string to search for Return value Pointer to the first character of the found substring in dest, or NULL

memcmp

Defined in header <string.h> int memcmp( const void* lhs, const void* rhs, size_t count ); Compares the first count characters of the objects 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 bytes (both interpreted as unsigned char) that differ in the objects being compared. The behavior is undefined if access occurs beyond the end of either object pointed to by