⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 locale.h.html

📁 unix 下的C开发手册,还用详细的例程。
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>&lt;locale.h&gt;</title></head><body bgcolor=white><center><font size=2>The Single UNIX &reg; Specification, Version 2<br>Copyright &copy; 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_007_375">&nbsp;</a>NAME</h4><blockquote>locale.h - category macros</blockquote><h4><a name = "tag_000_007_376">&nbsp;</a>SYNOPSIS</h4><blockquote><pre><code>#include &lt;locale.h&gt;</code></pre></blockquote><h4><a name = "tag_000_007_377">&nbsp;</a>DESCRIPTION</h4><blockquote>The<i>&lt;locale.h&gt;</i>header provides a definition for structure <b>lconv</b>, whichincludes at least the following members.(See the definitions of LC_MONETARY in the <b>XBD</b> specification, <a href="../xbd/locale.html#tag_005_003_003"><b>LC_MONETARY</b>&nbsp;</a>, and the <b>XBD</b> specification, <a href="../xbd/locale.html#tag_005_003_004"><b>LC_NUMERIC</b>&nbsp;</a>.)<pre><code>char    *currency_symbolchar    *decimal_pointchar     frac_digitschar    *groupingchar    *int_curr_symbolchar     int_frac_digitschar    *mon_decimal_pointchar    *mon_groupingchar    *mon_thousands_sepchar    *negative_signchar     n_cs_precedeschar     n_sep_by_spacechar     n_sign_posnchar    *positive_signchar     p_cs_precedeschar     p_sep_by_spacechar     p_sign_posnchar    *thousands_sep</code></pre><p>The<i>&lt;locale.h&gt;</i>header defines NULL (as defined in<i><a href="stddef.h.html">&lt;stddef.h&gt;</a></i>)and at least the following as macros:<pre>LC_ALLLC_COLLATELC_CTYPELC_MESSAGESLC_MONETARYLC_NUMERICLC_TIME</pre><p>which expand to distinct integral-constantexpressions, for use as the first argument to the<i><a href="setlocale.html">setlocale()</a></i>function.<p>Additional macro definitions, beginning with the charactersLC_ and an upper-case letter, may also be given here.<p>The following are declared as functions and may also be definedas macros.Function prototypes must be provided for use with an ISO Ccompiler.<pre><code>struct  lconv *<a href="localeconv.html">localeconv</a>(void);char    <a href="setlocale.html">setlocale</a>(int, const char *);</code></pre></blockquote><h4><a name = "tag_000_007_378">&nbsp;</a>APPLICATION USAGE</h4><blockquote>None.</blockquote><h4><a name = "tag_000_007_379">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_007_380">&nbsp;</a>SEE ALSO</h4><blockquote><i><a href="localeconv.html">localeconv()</a></i>,<i><a href="setlocale.html">setlocale()</a></i>,the <b>XBD</b> specification, <a href="../xbd/envvar.html"><b>Environment Variables</b>&nbsp;</a>.</blockquote><hr size=2 noshade><center><font size=2>UNIX &reg; is a registered Trademark of The Open Group.<br>Copyright &copy; 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -