catclose

Closes a message catalog.

Library:LibC
Classification:Single UNIX
Service:Message Catalogs

Syntax

  #include <nl_types.h> 
   
  int catclose (
     nl_catd   catd);
  

Parameters

catd

(IN) Specifies the catalog to close.

Return Values

If successful, returns a catalog descriptor. Otherwise, returns -1 and sets errno to the following:

Decimal

Constant

Description

4

EBADF

The catd parameter is invalid.

105

ENOCONTEXT

No thread context is present.

Remarks

The catclose function closes the message catalog and frees any resources it was using.

See Also