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

NAME

6       nl_types.h - data types
7

SYNOPSIS

9       #include <nl_types.h>
10

DESCRIPTION

12       The  <nl_types.h> header shall contain definitions of at least the fol‐
13       lowing types:
14
15       nl_catd
16              Used by the message catalog functions catopen(), catgets(),  and
17              catclose() to identify a catalog descriptor.
18
19       nl_item
20              Used  by nl_langinfo() to identify items of langinfo data.  Val‐
21              ues of objects of type nl_item are defined in <langinfo.h> .
22
23
24       The <nl_types.h> header shall contain definitions of at least the  fol‐
25       lowing constants:
26
27       NL_SETD
28              Used  by gencat when no $set directive is specified in a message
29              text source file; see the Internationalization Guide. This  con‐
30              stant  can  be passed as the value of set_id on subsequent calls
31              to catgets() (that is, to retrieve  messages  from  the  default
32              message set). The value of NL_SETD is implementation-defined.
33
34       NL_CAT_LOCALE
35              Value  that must be passed as the oflag argument to catopen() to
36              ensure that message catalog selection depends on the LC_MESSAGES
37              locale  category,  rather  than directly on the LANG environment
38              variable.
39
40
41       The following shall be declared as functions and may also be defined as
42       macros. Function prototypes shall be provided.
43
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>  ,  the  System Interfaces volume of IEEE Std 1003.1-2001,
62       catclose(), catgets(), catopen(), nl_langinfo(), the Shell  and  Utili‐
63       ties volume of IEEE Std 1003.1-2001, gencat
64
66       Portions  of  this text are reprinted and reproduced in electronic form
67       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
68       --  Portable  Operating  System  Interface (POSIX), The Open Group Base
69       Specifications Issue 6, Copyright (C) 2001-2003  by  the  Institute  of
70       Electrical  and  Electronics  Engineers, Inc and The Open Group. In the
71       event of any discrepancy between this version and the original IEEE and
72       The  Open Group Standard, the original IEEE and The Open Group Standard
73       is the referee document. The original Standard can be  obtained  online
74       at http://www.opengroup.org/unix/online.html .
75
76
77
78IEEE/The Open Group                  2003                      <nl_types.h>(P)
Impressum