int

Usage int type: as the declaration of the type

mbstate_t

Defined in header <wchar.h> struct mbstate_t; (since C95) The type mbstate_t is a trivial non-array type that can represent any of the conversion states that can occur in an implementation-defined set of supported multibyte character encoding rules. Zero-initialized value of mbstate_t represents the initial conversion state, although other values of mbstate_t may exist that also represent the initial conversion state. Possible implementation of mbstate_t is a struct type ho

atomic_flag_clear

Defined in header <stdatomic.h> void atomic_flag_clear( volatile atomic_flag* obj ); (1) (since C11) void atomic_flag_clear_explicit( volatile atomic_flag* obj, memory_order order ); (2) (since C11) Atomically changes the state of a atomic_flag pointed to by obj to clear (false). The first version orders memory accesses according to memory_order_seq_cst, the second version orders memory accesses according to order. The argument is pointer to a volatile atomic flag to

thrd_yield

Defined in header <threads.h> void thrd_yield(); (since C11) Provides a hint to the implementation to reschedule the execution of threads, allowing other threads to run. Parameters (none). Return value (none). Notes The exact behavior of this function depends on the implementation, in particular on the mechanics of the OS scheduler in use and the state of the system. For example, a first-in-first-out realtime scheduler (SCHED_FIFO in Linux) would suspend the curren

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

atomic_signal_fence

Defined in header <stdatomic.h> void atomic_signal_fence( memory_order order ); (since C11) Establishes memory synchronization ordering of non-atomic and relaxed atomic accesses, as instructed by order, between a thread and a signal handler executed on the same thread. This is equivalent to std::atomic_thread_fence, except no CPU instructions for memory ordering are issued. Only reordering of the instructions by the compiler is suppressed as order instructs. For example, wr

fgetws

Defined in header <wchar.h> wchar_t *fgetws( wchar_t *str, int count, FILE *stream ); (since C95) Reads at most count - 1 wide characters from the given file stream and stores them in str. The produced wide string is always null-terminated. Parsing stops if end-of-file occurs or a newline wide character is found, in which case str will contain that wide newline character. Parameters str - wide string to read the characters to count - the length of str stream

fgetwc

Defined in header <wchar.h> wint_t fgetwc( FILE *stream ); (since C95) wint_t getwc( FILE *stream ); (since C95) Reads the next wide character from the given input stream. getwc() may be implemented as a macro and may evaluate stream more than once. Parameters stream - to read the wide character from Return value The next wide character from the stream or WEOF if an error has occurred or the end of file has been reached. If an encoding error occurred, er

getchar

Defined in header <stdio.h> int getchar(); Reads the next character from stdin. Equivalent to getc(stdin). Parameters (none). Return value The obtained character on success or EOF on failure. If the failure has been caused by end-of-file condition, additionally sets the eof indicator (see feof()) on stdin. If the failure has been caused by some other error, sets the error indicator (see ferror()) on stdin. Example getchar with error checking. #include <stdio.h&

return

Usage return statement: as the declaration of the statement