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

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,

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

Thread support library

If the macro constant __STDC_NO_THREADS__(C11) is defined by the compiler, the header <threads.h> and all of the names listed here are not provided. Threads Defined in header <threads.h> thrd_t implementation-defined complete object type identifying a thread thrd_create (C11) creates a thread (function) thrd_equal (C11) checks if two identifiers refer to the same thread (function) thrd_current (C11) obtains the current thread identifier (function) t

thread_local

Defined in header <threads.h> #define thread_local _Thread_local (since C11) Convenience macro which can be used to specify that an object has thread-local storage duration. References C11 standard (ISO/IEC 9899:2011): 7.26.1/3 thread_local (p: 376)

time

Defined in header <time.h> time_t time( time_t *arg ); Returns the current calendar time encoded as a time_t object, and also stores it in the time_t object pointed to by arg (unless arg is a null pointer). Parameters arg - pointer to a time_t object where the time will be stored, or a null pointer Return value Current calendar time encoded as time_t object on success, (time_t)(-1) on error. If arg is not a null pointer, the return value is also stored in the

timespec_get

Defined in header <time.h> int timespec_get( struct timespec *ts, int base) (since C11) #define TIME_UTC /* implementation-defined */ (since C11) 1) Modifies the timespec object pointed to by ts to hold the current calendar time in the time base base. 2) Expands to a value suitable for use as the base argument of timespec_get Other macro constants beginning with TIME_ may be provided by the implementation to indicate additional time bases. If base is TIME_UTC, then

timespec

Defined in header <time.h> struct timespec; (since C11) Structure holding an interval broken down into seconds and nanoseconds. Member objects time_t tv_sec whole seconds – >= 0 long tv_nsec nanoseconds – [0, 999999999] References C11 standard (ISO/IEC 9899:2011): 7.27.1/3 Components of time (p: 388) See also timespec_get (since C11) returns the calendar time based on a given time base (function) tm calendar time type (struct)

thrd_exit

Defined in header <threads.h> _Noreturn void thrd_exit( int res ); (since C11) First, for every thread-specific storage key which was created with a non-null destructor and for which the associated value is non-null (see tss_create), thrd_exit sets the value associated with the key to NULL and then invokes the destructor with the previous value of the key. The order in which the destructors are invoked is unspecified. If, after this, there remain keys with both non-null des

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