HP-UX Reference (11i v2 03/08) - 3 Library Functions A-M (vol 6)

c
catopen(3C) catopen(3C)
_POSIX_NO_TRUNC
is in effect.
[ENFILE] The system file table is full.
[ENOENT] The named catalog does not exist or the path is null.
[ENOTDIR] A component of the path prefix is not a directory.
catgets() can be used to provide default messages when called following a failed
catopen() (see
catgets (3C)).
catgets() returns its def_str parameter if it is passed an invalid catalog descriptor.
catclose() fails if the following is true:
[EBADF]
catd is not a valid open message catalog descriptor.
WARNINGS
When using
NLSPATH, catopen() does not provide a default value for
LANG.
AUTHOR
catopen() and catclose() were developed by HP.
FILES
/usr/include/nl_types.h
/usr/lib/nls/msg Message catalog default path for core HP-UX products only.
SEE ALSO
catgets(3C), setlocale(3C), nlspath(4), environ(5), thread_safety(5).
STANDARDS CONFORMANCE
catopen(): AES, SVID3, XPG2, XPG3, XPG4
catclose(): AES, SVID3, XPG2, XPG3, XPG4
HP-UX 11i Version 2: August 2003 2 Hewlett-Packard Company Section 381