catclose

Closes a message catalog.

Format

#include  <nl_types.h>

int catclose  (nl_catd catd);

Arguments

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

Description

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

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

  • EBADF - The catalog descriptor is not valid.
 


Previous Page | Next Page | Table of Contents | Index