catopen.3 (65485) | catopen.3 (68854) |
---|---|
1.\" Copyright (c) 1994 Winning Strategies, Inc. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 21.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" | 1.\" Copyright (c) 1994 Winning Strategies, Inc. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 12 unchanged lines hidden (view full) --- 21.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 22.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 23.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 27.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28.\" |
29.\" $FreeBSD: head/lib/libc/nls/catopen.3 65485 2000-09-05 19:14:34Z ache $ | 29.\" $FreeBSD: head/lib/libc/nls/catopen.3 68854 2000-11-17 11:44:16Z ru $ |
30.Dd May 29, 1994 31.Dt CATOPEN 3 32.Os 33.Sh NAME 34.Nm catopen 35.Nd open message catalog 36.Sh LIBRARY 37.Lb libc --- 80 unchanged lines hidden (view full) --- 118environment variable 119determines the message catalog locale. 120.Pp 121A message catalog descriptor 122remains valid in a process until that process closes it, or 123until a successful call to one of the 124.Xr exec 3 125function. | 30.Dd May 29, 1994 31.Dt CATOPEN 3 32.Os 33.Sh NAME 34.Nm catopen 35.Nd open message catalog 36.Sh LIBRARY 37.Lb libc --- 80 unchanged lines hidden (view full) --- 118environment variable 119determines the message catalog locale. 120.Pp 121A message catalog descriptor 122remains valid in a process until that process closes it, or 123until a successful call to one of the 124.Xr exec 3 125function. |
126.Sh RETURN VALUE | 126.Sh RETURN VALUES |
127Upon successful completion, 128.Fn catopen 129returns a message catalog descriptor. 130Otherwise, (nl_catd) -1 is returned and 131.Va errno 132is set to indicate the error. 133.Sh ERRORS 134.Bl -tag -width Er --- 23 unchanged lines hidden --- | 127Upon successful completion, 128.Fn catopen 129returns a message catalog descriptor. 130Otherwise, (nl_catd) -1 is returned and 131.Va errno 132is set to indicate the error. 133.Sh ERRORS 134.Bl -tag -width Er --- 23 unchanged lines hidden --- |