HELPLIB.HLB  —  CRTL  catclose
    Closes a message catalog.

    Format

      #include  <nl_types.h>

      int catclose  (nl_catd catd);

1  –  Argument

 catd

    A message catalog descriptor. This is returned by a successful
    call to catopen.

2  –  Description

    The catclose function closes the message catalog referenced by
    catd and frees the catalog file descriptor.

3  –  Return Values

    0                  Indicates that the catalog was successfully
                       closed.
    -1                 Indicates that an error occurred. The function
                       sets errno to the following value:

                       o  EBADF - The catalog descriptor is not
                          valid.
Close Help