thrd_current

Defined in header <threads.h> thrd_t thrd_current(); (since C11) Returns the identifier of the calling thread. Parameters (none). Return value The identifier of the calling thread. References C11 standard (ISO/IEC 9899:2011): 7.26.5.2 The thrd_current function (p: 383)

FE_DOWNWARD

Defined in header <<fenv.h>> #define FE_DOWNWARD /*implementation defined*/ (since C99) #define FE_TONEAREST /*implementation defined*/ (since C99) #define FE_TOWARDZERO /*implementation defined*/ (since C99) #define FE_UPWARD /*implementation defined*/ (since C99) Each of these macro constants expands to a nonnegative integer constant expression, which can be used with fesetround and fegetround to indicate one of the supported floatin

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)

bsearch

Defined in header <stdlib.h> void* bsearch( const void *key, const void *ptr, size_t count, size_t size, int (*comp)(const void*, const void*) ); (1) void* bsearch_s( const void *key, const void *ptr, rsize_t count, rsize_t size, int (*comp)(const void *, const void *, void *), void *context ); (2) (since C11) 1) Finds an element equal to element pointed to by key in an array pointed to by ptr. The array contains count

#line directive

Changes the current line number and file name in the preprocessor. Syntax #line lineno (1) #line lineno "filename" (2) Explanation 1) Changes the current preprocessor line number to lineno. Occurrences of the macro __LINE__ beyond this point will expand to lineno plus the number of actual source code lines encountered since. 2) Also changes the current preprocessor file name to filename. Occurrences of the macro __FILE__ beyond this point will produce filename. Any preproc

mtx_trylock

Defined in header <threads.h> int mtx_trylock( mtx_t *mutex ); (since C11) Tries to lock the mutex pointed to by mutex without blocking. Returns immediately if the mutex is already locked. Prior calls to mtx_unlock on the same mutex synchronize-with this operation (if this operation succeeds), and all lock/unlock operations on any given mutex form a single total order (similar to the modification order of an atomic). Parameters mutex - pointer to the mutex to lock

return

Usage return statement: as the declaration of the statement

difftime

Defined in header <time.h> double difftime( time_t time_end, time_t time_beg ); Computes difference between two calendar times as time_t objects (time_end - time_beg) in seconds. If time_end refers to time point before time_beg then the result is negative. Parameters time_beg, time_end - times to compare Return value Difference between two times in seconds. Notes On POSIX systems, time_t is measured in seconds, and difftime is equivalent to arithmetic subtr

rename

Defined in header <stdio.h> int rename( const char *old_filename, const char *new_filename ); Changes the filename of a file. The file is identified by character string pointed to by old_filename. The new filename is identified by character string pointed to by new_filename. If new_filename exists, the behavior is implementation-defined. Parameters old_filename - pointer to a null-terminated string containing the path identifying the file to rename new_filename

strstr

Defined in header <string.h> char *strstr( const char* str, const char* substr ); Finds the first occurrence of the null-terminated byte string pointed to by substr in the null-terminated byte string pointed to by str. The terminating null characters are not compared. The behavior is undefined if either str or substr is not a pointer to a null-terminated byte string. Parameters str - pointer to the null-terminated byte string to examine substr - pointer to the