catclose(3)

catclose3

Close message catalog

Usage

#include <nl_types.h>

int

catclose(nl_catd catd);

Library

Standard C Library (libc, -lc)

Overview

The catclose() function closes the message catalog specified by the argument catd.

Return values

The catclose() function returns the value 0 if successful; otherwise the value -1 is returned and the global variable errno is set to indicate the error.

Errors

[EBADF]

An invalid message catalog descriptor was passed by the catd argument.

Releases

153 releases since Mac OS X 10.0; the text changed 2 times.

  1. 10.0–10.1.5
  2. 10.3–10.6.8
  3. 10.7–26.5

Standards

The catclose() function conforms to IEEE Std 1003.1-2001 (“POSIX.1”).

From Libc 1752.120.2 in macOS 26.5. Parsed by carta from the page's mdoc source.