Type

(See also arithmetic types for the details on most built-in types and the list of type-related utilities that are provided by the C library). Objects, functions, and expressions have a property called type, which determines the interpretation of the binary value stored in an object or evaluated by the expression. Type classification The C type system consists of the following types: the type void basic types the type char signed integer types standard: signed char, short, int, long, lon

longjmp

Defined in header <setjmp.h> void longjmp( jmp_buf env, int status ); (until C11) _Noreturn void longjmp( jmp_buf env, int status ); (since C11) Loads the execution context env saved by a previous call to setjmp. This function does not return. Control is transferred to the call site of the macro setjmp that set up env. That setjmp then returns the value, passed as the status. If the function that called setjmp has exited (whether by return or by a different longjmp hi

enum

Usage declaration of an enumeration type

ctime

Defined in header <time.h> char* ctime( const time_t* time ); (1) errno_t ctime_s(char *buffer, rsize_t bufsz, const time_t *time); (2) (since C11) 1) Converts given time since epoch to a calendar local time and then to a textual representation, as if by calling asctime(localtime(time)). 2) Same as (1), except that the function is equivalent to asctime_s(buffer, bufsz, localtime_s(time, &(struct tm){0})), and the following errors are detected at runtime and call

Date and time utilities

Functions Time manipulation Defined in header <time.h> difftime computes the difference between times (function) time returns the current calendar time of the system as time since epoch (function) clock returns raw processor clock time since the program is started (function) timespec_get (since C11) returns the calendar time based on a given time base (function) Format conversions Defined in header <time.h> asctimeasctime_s (C11) conv

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

isfinite

Defined in header <math.h> #define isfinite(arg) /* implementation defined */ (since C99) Determines if the given floating point number arg has finite value i.e. it is normal, subnormal or zero, but not infinite or NaN. The macro returns an integral value. FLT_EVAL_METHOD is ignored: even if the argument is evaluated with more range and precision than its type, it is first converted to its semantic type, and the classification is based on that. Parameters arg - floa

Strings library

Null-terminated byte string management Null-terminated multibyte string management Null-terminated wide string management See also C++ documentation for Strings library

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,

_Complex_I

Defined in header <complex.h> #define _Complex_I /* unspecified */ (since C99) The _Complex_I macro expands to a value of type const float _Complex with the value of the imaginary unit. Notes This macro may be used when I is not available, such as when it has been undefined by the application. Unlike _Imaginary_I and CMPLX, use of this macro to construct a complex number may lose the sign of zero on the imaginary component. Example #include <stdio.h> #include