|
NAMEcatopen —
open message catalog
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <nl_types.h>
nl_catd
DESCRIPTIONThecatopen () function opens the message catalog
specified by name and returns a message catalog
descriptor. If name contains a ‘/’ then
name specifies the full pathname for the message
catalog, otherwise the value of the environment variable
NLSPATH is used with the following substitutions:
An empty string is substituted for undefined values. Path names templates defined in If the oflag argument is set to the
A message catalog descriptor remains valid in a process until that process closes it, or until a successful call to one of the exec(3) function. RETURN VALUESUpon successful completion,catopen () returns a message
catalog descriptor. Otherwise, (nl_catd) -1 is returned and
errno is set to indicate the error.
ERRORS
SEE ALSOgencat(1), catclose(3), catgets(3), setlocale(3)STANDARDSThecatopen () function conforms to IEEE
Std 1003.1-2001 (“POSIX.1”).
Visit the GSP FreeBSD Man Page Interface. |