summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/catopen.3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c/catopen.3c')
-rw-r--r--usr/src/man/man3c/catopen.3c51
1 files changed, 9 insertions, 42 deletions
diff --git a/usr/src/man/man3c/catopen.3c b/usr/src/man/man3c/catopen.3c
index 6edfd036b2..4adcfa7562 100644
--- a/usr/src/man/man3c/catopen.3c
+++ b/usr/src/man/man3c/catopen.3c
@@ -1,13 +1,13 @@
'\" te
.\" Copyright 1989 AT&T Copyright (c) 1995, Sun Microsystems, Inc. All Rights Reserved Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved
-.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
+.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
.\" http://www.opengroup.org/bookstore/.
.\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
.\" This notice shall appear on any product containing this material.
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
-.TH catopen 3C "29 Dec 1996" "SunOS 5.11" "Standard C Library Functions"
+.TH CATOPEN 3C "Dec 29, 1996"
.SH NAME
catopen, catclose \- open/close a message catalog
.SH SYNOPSIS
@@ -50,7 +50,7 @@ catalog files. For example:
.sp
.in +2
.nf
-NLSPATH=/nlslib/%L/%N.cat:/nlslib/%N/%L
+NLSPATH=/nlslib/%L/%N.cat:/nlslib/%N/%L
.fi
.in -2
@@ -74,67 +74,55 @@ associated with message catalogs transparent to both programs and users.
The full set of metacharacters is:
.sp
.ne 2
-.mk
.na
\fB\fB%N\fR\fR
.ad
.RS 6n
-.rt
The value of the name parameter passed to \fBcatopen()\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB%L\fR\fR
.ad
.RS 6n
-.rt
The value of \fBLANG\fR or \fBLC_MESSAGES\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB%l\fR\fR
.ad
.RS 6n
-.rt
The value of the \fIlanguage\fR element of \fBLANG\fR or \fBLC_MESSAGES\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB%t\fR\fR
.ad
.RS 6n
-.rt
The value of the \fIterritory\fR element of \fBLANG\fR or \fBLC_MESSAGES\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB%c\fR\fR
.ad
.RS 6n
-.rt
The value of the \fIcodeset\fR element of \fBLANG\fR or \fBLC_MESSAGES\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fB%%\fR\fR
.ad
.RS 6n
-.rt
A single %.
.RE
@@ -209,94 +197,78 @@ Upon successful completion, \fBcatclose()\fR returns 0. Otherwise it returns
The \fBcatopen()\fR function may fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEACCES\fR\fR
.ad
.RS 16n
-.rt
Search permission is denied for the component of the path prefix of the message
catalogue or read permission is denied for the message catalogue.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEMFILE\fR\fR
.ad
.RS 16n
-.rt
There are \fBOPEN_MAX\fR file descriptors currently open in the calling
process.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENAMETOOLONG\fR\fR
.ad
.RS 16n
-.rt
The length of the pathname of the message catalogue exceeds \fIPATH_MAX\fR, or
a pathname component is longer than \fINAME_MAX\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENAMETOOLONG\fR\fR
.ad
.RS 16n
-.rt
Pathname resolution of a symbolic link produced an intermediate result whose
length exceeds \fIPATH_MAX\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENFILE\fR\fR
.ad
.RS 16n
-.rt
Too many files are currently open in the system.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOENT\fR\fR
.ad
.RS 16n
-.rt
The message catalogue does not exist or the \fIname\fR argument points to an
empty string.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOMEM\fR\fR
.ad
.RS 16n
-.rt
Insufficient storage space is available.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBENOTDIR\fR\fR
.ad
.RS 16n
-.rt
A component of the path prefix of the message catalogue is not a directory.
.RE
@@ -305,23 +277,19 @@ A component of the path prefix of the message catalogue is not a directory.
The \fBcatclose()\fR function may fail if:
.sp
.ne 2
-.mk
.na
\fB\fBEBADF\fR\fR
.ad
.RS 9n
-.rt
The catalogue descriptor is not valid.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBEINTR\fR\fR
.ad
.RS 9n
-.rt
The \fBcatclose()\fR function was interrupted by a signal.
.RE
@@ -339,15 +307,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityStandard
+Interface Stability Standard
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO