1CATCLOSE(P) POSIX Programmer's Manual CATCLOSE(P)
2
3
4
6 catclose - close a message catalog descriptor
7
9 #include <nl_types.h>
10
11 int catclose(nl_catd catd);
12
13
15 The catclose() function shall close the message catalog identified by
16 catd. If a file descriptor is used to implement the type nl_catd, that
17 file descriptor shall be closed.
18
20 Upon successful completion, catclose() shall return 0; otherwise, -1
21 shall be returned, and errno set to indicate the error.
22
24 The catclose() function may fail if:
25
26 EBADF The catalog descriptor is not valid.
27
28 EINTR The catclose() function was interrupted by a signal.
29
30
31 The following sections are informative.
32
34 None.
35
37 None.
38
40 None.
41
43 None.
44
46 catgets() , catopen() , the Base Definitions volume of
47 IEEE Std 1003.1-2001, <nl_types.h>
48
50 Portions of this text are reprinted and reproduced in electronic form
51 from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
52 -- Portable Operating System Interface (POSIX), The Open Group Base
53 Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
54 Electrical and Electronics Engineers, Inc and The Open Group. In the
55 event of any discrepancy between this version and the original IEEE and
56 The Open Group Standard, the original IEEE and The Open Group Standard
57 is the referee document. The original Standard can be obtained online
58 at http://www.opengroup.org/unix/online.html .
59
60
61
62IEEE/The Open Group 2003 CATCLOSE(P)