TSS_DTOR_ITERATIONS

Defined in header <threads.h> #define TSS_DTOR_ITERATIONS /* unspecified */ (since C11) Expands to a positive integral constant expression defining the maximum number of times a destructor for thread-local storage pointer will be called by thrd_exit. This constant is equivalent to the POSIX PTHREAD_DESTRUCTOR_ITERATIONS. References C11 standard (ISO/IEC 9899:2011): 7.26.1/3 TSS_DTOR_ITERATIONS (p: 376)

tss_delete

Defined in header <threads.h> void tss_delete( tss_t tss_id ); (since C11) Destroys the thread-specific storage identified by tss_id. The destructor, if one was registered by tss_create, is not called (they are only called at thread exit, either by thrd_exit or by returning from the thread function), it is the responsibility of the programmer to ensure that every thread that is aware of tss_id performed all necessary cleanup, before the call to tss_delete is made. If tss_de

tss_create

Defined in header <threads.h> int tss_create( tss_t* tss_key, tss_dtor_t destructor ); (since C11) Creates new thread-specific storage key and stores it in the object pointed to by tss_key. Although the same key value may be used by different threads, the values bound to the key by tss_set are maintained on a per-thread basis and persist for the life of the calling thread. The value NULL is associated with the newly created key in all existing threads, and upon thread creat

trunc

Defined in header <math.h> float truncf( float arg ); (1) (since C99) double trunc( double arg ); (2) (since C99) long double truncl( long double arg ); (3) (since C99) Defined in header <tgmath.h> #define trunc( arg ) (4) (since C99) 1-3) Computes the nearest integer not greater in magnitude than arg. 4) Type-generic macro: If arg has type long double, truncl is called. Otherwise, if arg has integer type or the type double, trun

towupper

Defined in header <wctype.h> wint_t towupper( wint_t wc ); (since C95) Converts the given wide character to uppercase, if possible. Parameters wc - wide character to be converted Return value Uppercase version of wc or unmodified wc if no uppercase version is listed in the current C locale. Notes Only 1:1 character mapping can be performed by this function, e.g. the uppercase form of 'ß' is (with some exceptions) the two-character string "SS", which cannot

towlower

Defined in header <wctype.h> wint_t towlower( wint_t wc ); (since C95) Converts the given wide character to lowercase, if possible. Parameters wc - wide character to be converted Return value Lowercase version of wc or unmodified wc if no lowercase version is listed in the current C locale. Notes Only 1:1 character mapping can be performed by this function, e.g. the Greek uppercase letter 'Σ' has two lowercase forms, depending on the position in a word: 'σ'

towctrans

Defined in header <wctype.h> wint_t towctrans( wint_t wc, wctrans_t desc ); (since C95) Maps the wide character wc using the current C locale's LC_CTYPE mapping category identified by desc. Parameters wc - the wide character to map desc - the LC_CTYPE mapping, obtained from a call to wctrans Return value The mapped value of wc using the mapping identified by desc in LC_CTYPE facet of the current C locale. Example #include <locale.h> #include &

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

tolower

Defined in header <ctype.h> int tolower( int ch ); Converts the given character to lowercase according to the character conversion rules defined by the currently installed C locale. In the default "C" locale, the following uppercase letters ABCDEFGHIJKLMNOPQRSTUVWXYZ are replaced with respective lowercase 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

tmpnam

Defined in header <stdio.h> char *tmpnam( char *filename ); (1) errno_t tmpnam_s(char *filename_s, rsize_t maxsize); (2) (since C11) 1) Creates a unique valid file name (no longer than L_tmpnam in length) and stores it in character string pointed to by filename. The function is capable of generating up to TMP_MAX of unique filenames, but some or all of them may be in use in the filesystem and thus not suitable return values. 2) Same as (1), except that up to TMP_MA