scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

localeconv.3 (869B)


      1 .TH localeconv 3
      2 .SH NAME
      3 localeconv - get numeric formatting information
      4 .SH SYNOPSIS
      5 #include <locale.h>
      6 
      7 struct lconv *localeconv(void);
      8 .SH DESCRIPTION
      9 The
     10 .BR localeconv ()
     11 function is used to set
     12 the components of an object with type struct lconv
     13 with values appropriate for the formatting of numeric quantities
     14 according to the rules of the current locale and return a pointer to it.
     15 .SH RETURN VALUE
     16 The
     17 .B localeconv
     18 function returns a pointer to the filled-in object.
     19 The structure pointed to by the return value
     20 shall not be modified by the program,
     21 but may be overwritten by a subsequent call to the
     22 .B localeconv
     23 function.
     24 In addition, calls to
     25 .B setlocale
     26 function with categories LC_ALL, LC_MONETARY, or LC_NUMERIC
     27 may overwrite the contents of the structure.
     28 .SH STANDARDS
     29 ISO/IEC 9899:1999 Section 7.11.2.1 Paragraph 1,2,8
     30 .SH SEE ALSO
     31 .B locale.h(3)