📄 nl_types.h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title><nl_types.h></title></head><body bgcolor=white><center><font size=2>The Single UNIX ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_007_910"> </a>NAME</h4><blockquote>nl_types.h - data types</blockquote><h4><a name = "tag_000_007_911"> </a>SYNOPSIS</h4><blockquote><pre><code>#include <nl_types.h></code></pre></blockquote><h4><a name = "tag_000_007_912"> </a>DESCRIPTION</h4><blockquote>The<i><nl_types.h></i>header contains definitions of at least the following types:<dl compact><dt><b>nl_catd</b><dd><index term="data type, nl_catd"></index>Used by the message catalogue functions<i>catopen</i>(),<i>catgets</i>()and<i>catclose</i>()to identify a catalogue descriptor.<dt><b>nl_item</b><dd><index term="data type, nl_item"></index>Used by<i>nl_langinfo</i>()to identify items of<i>langinfo</i>data.Values of objects of type<b>nl_item</b>are defined in<i><a href="langinfo.h.html"><langinfo.h></a></i>.</dl><p>The<i><nl_types.h></i>header contains definitions of at least the following constants:<dl compact><dt>NL_SETD<dd>Used by<i><a href="../xcu/gencat.html">gencat</a></i>when no<i>$set</i>directive is specified in a message text source file, see the <b>Internationalisation Guide</b>,<b>Chapter 3</b>,<b> The Message System</b>.This constant can be passed as the value of<i>set_id</i>on subsequent calls to<i>catgets</i>()(that is, to retrieve messages from the default message set).The value of NL_SETD is implementation-dependent.<dt>NL_CAT_LOCALE<dd>Value that must be passed as the<i>oflag</i>argument to<i><a href="catopen.html">catopen()</a></i>to ensure that message catalogue selection depends on the LC_MESSAGES localecategory, rather than directly on theenvironment variable.</dl><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>int <a href="catclose.html">catclose</a>(nl_catd);char *<a href="catgets.html">catgets</a>(nl_catd, int, int, const char *);nl_catd <a href="catopen.html">catopen</a>(const char *, int);</code></pre></blockquote><h4><a name = "tag_000_007_913"> </a>APPLICATION USAGE</h4><blockquote>None.</blockquote><h4><a name = "tag_000_007_914"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_007_915"> </a>SEE ALSO</h4><blockquote><i><a href="catclose.html">catclose()</a></i>,<i><a href="catgets.html">catgets()</a></i>,<i><a href="catopen.html">catopen()</a></i>,<i><a href="nl_langinfo.html">nl_langinfo()</a></i>,<i><a href="langinfo.h.html"><langinfo.h></a></i>,the <b>XCU</b> specification,<i><a href="../xcu/gencat.html">gencat</a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 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 + -