CATCLOSE(3) Library Functions Manual CATCLOSE(3)

catcloseclose message catalog

Standard C Library (libc, -lc)

#include <nl_types.h>

int
catclose(nl_catd catd);

The () function closes the message catalog specified by the argument catd.

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.

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

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

The catclose() function conforms to IEEE Std 1003.1-2001 (“POSIX.1”).

February 12, 2005 macOS 15.0