catclose - close 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:
- [EBADF]
- The catalogue descriptor is not valid.
- [EINTR]
- The catclose() function was interrupted by a signal.
None.
None.
None.
catgets(), catopen(), <nl_types.h>.