Query: catclose
OS: freebsd
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CATCLOSE(3) BSD Library Functions Manual CATCLOSE(3)NAMEcatclose -- close message catalogLIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <nl_types.h> int catclose(nl_catd catd);DESCRIPTIONThe catclose() function closes the message catalog specified by the argument catd.RETURN VALUESThe catclose() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indi- cate the error.ERRORS[EBADF] An invalid message catalog descriptor was passed by the catd argument.SEE ALSOgencat(1), catgets(3), catopen(3)STANDARDSThe catclose() function conforms to IEEE Std 1003.1-2001 (``POSIX.1'').BSDFebruary 12, 2005 BSD