1nl_types.h(0P)             POSIX Programmer's Manual            nl_types.h(0P)
2
3
4

PROLOG

6       This  manual  page is part of the POSIX Programmer's Manual.  The Linux
7       implementation of this interface may differ (consult the  corresponding
8       Linux  manual page for details of Linux behavior), or the interface may
9       not be implemented on Linux.
10
11

NAME

13       nl_types.h — data types
14

SYNOPSIS

16       #include <nl_types.h>
17

DESCRIPTION

19       The <nl_types.h> header shall define at least the following types:
20
21       nl_catd       Used by the message  catalog  functions  catopen(),  cat‐
22                     gets(), and catclose() to identify a catalog descriptor.
23
24       nl_item       Used by nl_langinfo() to identify items of langinfo data.
25                     Values of objects of type nl_item are defined  in  <lang‐
26                     info.h>.
27
28       The  <nl_types.h>  header  shall define at least the following symbolic
29       constants:
30
31       NL_SETD       Used by gencat when no $set directive is specified  in  a
32                     message  text source file. This constant can be passed as
33                     the value of set_id  on  subsequent  calls  to  catgets()
34                     (that  is,  to retrieve messages from the default message
35                     set). The value of NL_SETD is implementation-defined.
36
37       NL_CAT_LOCALE Value that must  be  passed  as  the  oflag  argument  to
38                     catopen()   to  ensure  that  message  catalog  selection
39                     depends on the LC_MESSAGES locale category,  rather  than
40                     directly on the LANG environment variable.
41
42       The following shall be declared as functions and may also be defined as
43       macros. Function prototypes shall be provided.
44
45           int       catclose(nl_catd);
46           char     *catgets(nl_catd, int, int, const char *);
47           nl_catd   catopen(const char *, int);
48
49       The following sections are informative.
50

APPLICATION USAGE

52       None.
53

RATIONALE

55       None.
56

FUTURE DIRECTIONS

58       None.
59

SEE ALSO

61       <langinfo.h>
62
63       The System Interfaces volume of  POSIX.1‐2008,  catclose(),  catgets(),
64       catopen(), nl_langinfo()
65
66       The Shell and Utilities volume of POSIX.1‐2008, gencat
67
69       Portions  of  this text are reprinted and reproduced in electronic form
70       from IEEE Std 1003.1, 2013 Edition, Standard for Information Technology
71       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
72       Specifications Issue 7, Copyright (C) 2013 by the Institute of Electri‐
73       cal  and  Electronics  Engineers,  Inc  and  The  Open Group.  (This is
74       POSIX.1-2008 with the 2013 Technical Corrigendum  1  applied.)  In  the
75       event of any discrepancy between this version and the original IEEE and
76       The Open Group Standard, the original IEEE and The Open Group  Standard
77       is  the  referee document. The original Standard can be obtained online
78       at http://www.unix.org/online.html .
79
80       Any typographical or formatting errors that appear  in  this  page  are
81       most likely to have been introduced during the conversion of the source
82       files to man page format. To report such errors,  see  https://www.ker
83       nel.org/doc/man-pages/reporting_bugs.html .
84
85
86
87IEEE/The Open Group                  2013                       nl_types.h(0P)
Impressum