scc

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

localeconv.3 (755B)


      1 .TH localeconv 3
      2 .SH NAME
      3 localeconv - retrieve numeric formatting conventions for the current locale
      4 .SH SYNOPSIS
      5 #include <locale.h>
      6 
      7 struct lconv *localeconv(void);
      8 .SH DESCRIPTION
      9 The
     10 .BR localeconv ()
     11 function fills the fields of an internal object of type struct lconv
     12 with the numeric and monetary formatting rules of the active locale
     13 and returns a pointer to that object.
     14 .SH RETURN VALUE
     15 A pointer to the internal
     16 .I lconv
     17 structure is returned.
     18 The program must not modify the returned structure;
     19 its contents may be replaced by a subsequent call to
     20 .BR localeconv ()
     21 or by calls to
     22 .B setlocale
     23 with a category of LC_ALL, LC_MONETARY, or LC_NUMERIC.
     24 .SH STANDARDS
     25 ISO/IEC 9899:1999 Section 7.11.2.1 Paragraph 1,2,8
     26 .SH SEE ALSO
     27 .B locale.h(3)