HP-UX Reference (11i v1 05/09) - 3 Library Functions A-M (vol 6)

c
catopen(3C) catopen(3C)
[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), environ(5), nlspath(4), thread_safety(5).
STANDARDS CONFORMANCE
catopen(): AES, SVID3, XPG2, XPG3, XPG4
catclose() : AES, SVID3, XPG2, XPG3, XPG4
Section 362 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005