1 .\" $NetBSD: catopen.3,v 1.13 2003/04/16 13:34:42 wiz Exp $
3 .\" Written by J.T. Conklin <jtc@NetBSD.org>.
11 .Nd open message catalog
17 .Fn catopen "const char *name" "int oflag"
21 function opens the message catalog specified by
23 and returns a message catalog descriptor.
30 specifies the full pathname for the message catalog, otherwise the value
31 of the environment variable
39 argument is reserved for future use and should be set to zero.
41 Upon successful completion,
43 returns a message catalog descriptor.
44 Otherwise, (nl_catd) -1 is returned and
46 is set to indicate the error.
50 Insufficient memory is available.