<cwchar>

Types

mbstate_t


Definition

typedef int mbstate_t;

Description

This type is used describe the state for converting between wide characters and multi-byte characters.


size_t


Definition

typedef unsigned int size_t;

Description

This type is used to hold size definitions. Since sizes are always positives, this type is usually defined as an unsigned long, but may be defined as an unsigned 64-bit int on newer systems.


tm


Definition

struct tm
{
    int tm_sec;     // Seconds [0, 59]
    int tm_min;     // Minutes [0, 59]
    int tm_hour;    // Hours [0, 23]
    int tm_mday;    // Day of the month [1, 31]
    int tm_mon;     // Month of the year [0, 11]
    int tm_year;    // Years after 1900
    int tm_wday;    // Day of the week [0, 6]
    int tm_yday;    // Day of the year [0, 365]
    int tm_isdst;   // Daylight savings time [0, 1],
                    // 0 means false
};

Description

This struct is used to hold a complete time description, which is usually localized. This variable type is generally assigned via a conversion from a time_t data type variable.


wint_t


Definition

typedef unsigned short wint_t;

Description

This data type defines the wide character type, which supports unicode encoding.