CATCLOSE(3) Library Functions Manual CATCLOSE(3)

catcloseclose a message catalogue descriptor

#include <nl_types.h>

int catclose(nl_catd catd);

The catclose() function closes the message catalogue identified by catd . If a file descriptor is used to implement the type nl_catd , that file descriptor will be closed.

Upon successful completion, catclose() returns 0. Otherwise -1 is returned, and errno is set to indicate the error.

The catclose() function may fail if:

The catalogue descriptor is not valid.
The catclose() function was interrupted by a signal.

None.

None.

None.

catgets(3) , catopen(3) , <nl_types.h> .

February 1997 posix.fail