HP-UX Reference (11i v2 07/12) - 3 Library Functions A-M (vol 6)
c
catopen(3C) catopen(3C)
[ENAMETOOLONG] The length of the specified path name exceeds
PATH_MAX bytes, or the
length of a component of the path name exceeds
NAME_MAX bytes while
_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: December 2007 Update − 2 − Hewlett-Packard Company 163