xref: /freebsd/lib/libc/nls/catclose.3 (revision fa9896e082a1046ff4fbc75fcba4d18d1f2efc19)
16eaef618SJordan K. Hubbard.\" Copyright (c) 1994 Winning Strategies, Inc.
26eaef618SJordan K. Hubbard.\" All rights reserved.
36eaef618SJordan K. Hubbard.\"
46eaef618SJordan K. Hubbard.\" Redistribution and use in source and binary forms, with or without
56eaef618SJordan K. Hubbard.\" modification, are permitted provided that the following conditions
66eaef618SJordan K. Hubbard.\" are met:
76eaef618SJordan K. Hubbard.\" 1. Redistributions of source code must retain the above copyright
86eaef618SJordan K. Hubbard.\"    notice, this list of conditions and the following disclaimer.
96eaef618SJordan K. Hubbard.\" 2. Redistributions in binary form must reproduce the above copyright
106eaef618SJordan K. Hubbard.\"    notice, this list of conditions and the following disclaimer in the
116eaef618SJordan K. Hubbard.\"    documentation and/or other materials provided with the distribution.
126eaef618SJordan K. Hubbard.\" 3. All advertising materials mentioning features or use of this software
136eaef618SJordan K. Hubbard.\"    must display the following acknowledgement:
146eaef618SJordan K. Hubbard.\"      This product includes software developed by Winning Strategies, Inc.
156eaef618SJordan K. Hubbard.\" 4. The name of the author may not be used to endorse or promote products
166eaef618SJordan K. Hubbard.\"    derived from this software without specific prior written permission.
176eaef618SJordan K. Hubbard.\"
186eaef618SJordan K. Hubbard.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
196eaef618SJordan K. Hubbard.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
206eaef618SJordan K. Hubbard.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
216eaef618SJordan K. Hubbard.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
226eaef618SJordan K. Hubbard.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
236eaef618SJordan K. Hubbard.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
246eaef618SJordan K. Hubbard.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
256eaef618SJordan K. Hubbard.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
266eaef618SJordan K. Hubbard.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
276eaef618SJordan K. Hubbard.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28efefbdc6SAlexey Zelkin.Dd February 12, 2005
296eaef618SJordan K. Hubbard.Dt CATCLOSE 3
306eaef618SJordan K. Hubbard.Os
316eaef618SJordan K. Hubbard.Sh NAME
326eaef618SJordan K. Hubbard.Nm catclose
336eaef618SJordan K. Hubbard.Nd close message catalog
3425bb73e0SAlexey Zelkin.Sh LIBRARY
3525bb73e0SAlexey Zelkin.Lb libc
366eaef618SJordan K. Hubbard.Sh SYNOPSIS
3732eef9aeSRuslan Ermilov.In nl_types.h
386eaef618SJordan K. Hubbard.Ft int
396eaef618SJordan K. Hubbard.Fn catclose "nl_catd catd"
406eaef618SJordan K. Hubbard.Sh DESCRIPTION
416eaef618SJordan K. HubbardThe
426eaef618SJordan K. Hubbard.Fn catclose
436eaef618SJordan K. Hubbardfunction closes the message catalog specified by the argument
446eaef618SJordan K. Hubbard.Fa catd .
457dc5eb44SAlexey Zelkin.Sh RETURN VALUES
46331cc897SAlexey Zelkin.Rv -std catclose
477dc5eb44SAlexey Zelkin.Sh ERRORS
487dc5eb44SAlexey Zelkin.Bl -tag -width Er
497dc5eb44SAlexey Zelkin.It Bq Er EBADF
507dc5eb44SAlexey ZelkinAn invalid message catalog descriptor was passed by the
517dc5eb44SAlexey Zelkin.Fa catd
527dc5eb44SAlexey Zelkinargument.
5360cff0a7SAndrey A. Chernov.El
546eaef618SJordan K. Hubbard.Sh SEE ALSO
55466d6dc4SAlexey Zelkin.Xr gencat 1 ,
5675141cc9SWolfram Schneider.Xr catgets 3 ,
5775141cc9SWolfram Schneider.Xr catopen 3
586eaef618SJordan K. Hubbard.Sh STANDARDS
596eaef618SJordan K. HubbardThe
606eaef618SJordan K. Hubbard.Fn catclose
616eaef618SJordan K. Hubbardfunction conforms to
62efefbdc6SAlexey Zelkin.St -p1003.1-2001 .
63