A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/language/../algorithm/../../cpp/header/../../c/header/locale.html below:

Standard library header <locale.h> - cppreference.com

This header is part of the localization library.

[edit] Synopsis
// In the "C" locale, the members shall have the values specified in the comments:
struct lconv
{
    char* decimal_point;        // "."
    char* thousands_sep;        // ""
    char* grouping;             // ""
    char* mon_decimal_point;    // ""
    char* mon_thousands_sep;    // ""
    char* mon_grouping;         // ""
    char* positive_sign;        // ""
    char* negative_sign;        // ""
    char* currency_symbol;      // ""
    char  frac_digits;          // CHAR_MAX
    char  p_cs_precedes;        // CHAR_MAX
    char  n_cs_precedes;        // CHAR_MAX
    char  p_sep_by_space;       // CHAR_MAX
    char  n_sep_by_space;       // CHAR_MAX
    char  p_sign_posn;          // CHAR_MAX
    char  n_sign_posn;          // CHAR_MAX
    char* int_curr_symbol;      // ""
    char  int_frac_digits;      // CHAR_MAX
    char  int_p_cs_precedes;    // CHAR_MAX
    char  int_n_cs_precedes;    // CHAR_MAX
    char  int_p_sep_by_space;   // CHAR_MAX
    char  int_n_sep_by_space;   // CHAR_MAX
    char  int_p_sign_posn;      // CHAR_MAX
    char  int_n_sign_posn;      // CHAR_MAX
};
 
char* setlocale(int category, const char* locale);
lconv* localeconv();
 
#define NULL        /* see description */
#define LC_ALL      /* see description */
#define LC_COLLATE  /* see description */
#define LC_CTYPE    /* see description */
#define LC_MONETARY /* see description */
#define LC_NUMERIC  /* see description */
#define LC_TIME     /* see description */
[edit] Notes

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4