The Single UNIX ® Specification, Version 2
Copyright © 1997 The Open Group

 NAME

catclose - close a message catalogue descriptor

 SYNOPSIS



#include <nl_types.h>

int catclose(nl_catd catd);

 DESCRIPTION

The catclose() function closes the message catalogue identified by catd. If a file descriptor is used to implement the type nl_catd, that file descriptor will be closed.

 RETURN VALUE

Upon successful completion, catclose() returns 0. Otherwise -1 is returned, and errno is set to indicate the error.

 ERRORS

The catclose() function may fail if:
[EBADF]
The catalogue descriptor is not valid.
[EINTR]
The catclose() function was interrupted by a signal.

 EXAMPLES

None.

 APPLICATION USAGE

None.

 FUTURE DIRECTIONS

None.

 SEE ALSO

catgets(), catopen(), <nl_types.h>.

UNIX ® is a registered Trademark of The Open Group.
Copyright © 1997 The Open Group
[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]