ctanhf

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

restrict

Usage restrict type qualifier

fread

Defined in header <stdio.h> size_t fread( void *buffer, size_t size, size_t count, FILE *stream ); (until C99) size_t fread( void *restrict buffer, size_t size, size_t count, FILE *restrict stream ); (since C99) Reads up to count objects into the array buffer from the given input stream stream as if by calling fgetc size times for each object, and storing the results, in the order obtained, into the successive positions o

_Alignof

Usage _Alignof operator

wcsftime

Defined in header <wchar.h> size_t wcsftime( wchar_t* str, size_t count, const wchar_t* format, tm* time ); (since C95) Converts the date and time information from a given calendar time time to a null-terminated wide character string str according to format string format. Up to count bytes are written. Parameters str - pointer to the first element of the wchar_t array for output count - maximum number of wide characters to write format - pointer to a nul

realloc

Defined in header <stdlib.h> void *realloc( void *ptr, size_t new_size ); Reallocates the given area of memory. It must be previously allocated by malloc(), calloc() or realloc() and not yet freed with free, otherwise, the results are undefined. The reallocation is done by either: a) expanding or contracting the existing area pointed to by ptr, if possible. The contents of the area remain unchanged up to the lesser of the new and old sizes. If the area is expanded, the con

return statement

Terminates current function and returns specified value to the caller function. Syntax return expression ; (1) return ; (2) Explanation 1) Evaluates the expression, terminates the current function and returns the result of the expression to the caller (the value returned becomes the value of the function call expression). Only valid if the function return type is not void. 2) Terminates the current function. Only valid if the function return type is void. If the type of th

sizeof operator

Queries size of the object or type. Used when actual size of the object must be known. Syntax sizeof( type ) (1) sizeof expression (2) Both versions return a value of type size_t. Explanation 1) Returns the size, in bytes, of the object representation of type 2) Returns the size, in bytes, of the object representation of the type of expression Notes Depending on the computer architecture, a byte may consist of 8 or more bits, the exact number provided as CHAR_BIT. si

thrd_detach

Defined in header <threads.h> int thrd_detach( thrd_t thr ); (since C11) Detaches the thread identified by thr from the current environment. The resources held by the thread will be freed automatically once the thread exits. Parameters thr - identifier of the thread to detach Return value thrd_success if successful, thrd_error otherwise. References C11 standard (ISO/IEC 9899:2011): 7.26.5.3 The thrd_detach function (p: 383-384) See also thrd_join

cbrt

Defined in header <math.h> float cbrtf( float arg ); (1) (since C99) double cbrt( double arg ); (2) (since C99) long double cbrtl( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define cbrt( arg ) (4) (since C99) 1-3) Computes the cubic root of arg. 4) Type-generic macro: If arg has type long double, cbrtl is called. Otherwise, if arg has integer type or the type double, cbrt is called. Otherwise, cbrtf is called