SYNOPSIS

     #include <nl_types.h>

     int
     catclose(nl_catd catd);


DESCRIPTION

     The catclose() function closes the message catalog specified by the argu-
     ment catd.


RETURN VALUES

     The catclose() function returns the value 0 if successful; otherwise the
     value -1 is returned and the global variable errno is set to indicate the
     error.


ERRORS

     [EBADF]            An invalid message catalog descriptor was passed by
                        the catd argument.


SEE ALSO

     gencat(1), catgets(3), catopen(3)


STANDARDS

     The catclose() function conforms to X/Open Portability Guide Issue 4
     (``XPG4'').

BSD                              May 29, 1994                              BSD

Man(1) output converted with man2html