logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

nl_types.h.0p (3021B)


  1. '\" et
  2. .TH nl_types.h "0P" 2017 "IEEE/The Open Group" "POSIX Programmer's Manual"
  3. .\"
  4. .SH PROLOG
  5. This manual page is part of the POSIX Programmer's Manual.
  6. The Linux implementation of this interface may differ (consult
  7. the corresponding Linux manual page for details of Linux behavior),
  8. or the interface may not be implemented on Linux.
  9. .\"
  10. .SH NAME
  11. nl_types.h
  12. \(em data types
  13. .SH SYNOPSIS
  14. .LP
  15. .nf
  16. #include <nl_types.h>
  17. .fi
  18. .SH DESCRIPTION
  19. The
  20. .IR <nl_types.h>
  21. header shall define at least the following types:
  22. .IP "\fBnl_catd\fP" 14
  23. Used by the message catalog functions
  24. \fIcatopen\fR(),
  25. \fIcatgets\fR(),
  26. and
  27. \fIcatclose\fR()
  28. to identify a catalog descriptor.
  29. .IP "\fBnl_item\fP" 14
  30. Used by
  31. \fInl_langinfo\fR()
  32. to identify items of
  33. .IR langinfo
  34. data. Values of objects of type
  35. .BR nl_item
  36. are defined in
  37. .IR <langinfo.h> .
  38. .P
  39. The
  40. .IR <nl_types.h>
  41. header shall define at least the following symbolic constants:
  42. .IP NL_SETD 14
  43. Used by
  44. .IR gencat
  45. when no $\fIset\fP directive is specified in a message text source
  46. file. This constant can be passed as the value of
  47. .IR set_id
  48. on subsequent calls to
  49. \fIcatgets\fR()
  50. (that is, to retrieve messages from the default message set). The
  51. value of NL_SETD is implementation-defined.
  52. .IP NL_CAT_LOCALE 14
  53. Value that must be passed as the
  54. .IR oflag
  55. argument to
  56. \fIcatopen\fR()
  57. to ensure that message catalog selection depends on the
  58. .IR LC_MESSAGES
  59. locale category, rather than directly on the
  60. .IR LANG
  61. environment variable.
  62. .P
  63. The following shall be declared as functions and may also be defined as
  64. macros. Function prototypes shall be provided.
  65. .sp
  66. .RS 4
  67. .nf
  68. int catclose(nl_catd);
  69. char *catgets(nl_catd, int, int, const char *);
  70. nl_catd catopen(const char *, int);
  71. .fi
  72. .P
  73. .RE
  74. .LP
  75. .IR "The following sections are informative."
  76. .SH "APPLICATION USAGE"
  77. None.
  78. .SH RATIONALE
  79. None.
  80. .SH "FUTURE DIRECTIONS"
  81. None.
  82. .SH "SEE ALSO"
  83. .IR "\fB<langinfo.h>\fP"
  84. .P
  85. The System Interfaces volume of POSIX.1\(hy2017,
  86. .IR "\fIcatclose\fR\^(\|)",
  87. .IR "\fIcatgets\fR\^(\|)",
  88. .IR "\fIcatopen\fR\^(\|)",
  89. .IR "\fInl_langinfo\fR\^(\|)"
  90. .P
  91. The Shell and Utilities volume of POSIX.1\(hy2017,
  92. .IR "\fIgencat\fR\^"
  93. .\"
  94. .SH COPYRIGHT
  95. Portions of this text are reprinted and reproduced in electronic form
  96. from IEEE Std 1003.1-2017, Standard for Information Technology
  97. -- Portable Operating System Interface (POSIX), The Open Group Base
  98. Specifications Issue 7, 2018 Edition,
  99. Copyright (C) 2018 by the Institute of
  100. Electrical and Electronics Engineers, Inc and The Open Group.
  101. In the event of any discrepancy between this version and the original IEEE and
  102. The Open Group Standard, the original IEEE and The Open Group Standard
  103. is the referee document. The original Standard can be obtained online at
  104. http://www.opengroup.org/unix/online.html .
  105. .PP
  106. Any typographical or formatting errors that appear
  107. in this page are most likely
  108. to have been introduced during the conversion of the source files to
  109. man page format. To report such errors, see
  110. https://www.kernel.org/doc/man-pages/reporting_bugs.html .