catclose()

close message catalog 

Function


SYNOPSIS

#include <nl_types.h>

int catclose(nl_catd catd);


DESCRIPTION

The catclose() function closes the message catalog identified by catd. It invalidates any subsequent references to the message catalog defined by catd.


RETURN VALUES

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

EBADF 

The catalog descriptor is not valid.

EINTR 

The catclose() function was interrupted by a signal.


CONFORMANCE

UNIX 98.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
catgets(), catopen()


MKS Toolkit 9.2 Documentation Build 16.