diff options
Diffstat (limited to 'usr/src/man/man3c/u8_validate.3c')
-rw-r--r-- | usr/src/man/man3c/u8_validate.3c | 36 |
1 files changed, 7 insertions, 29 deletions
diff --git a/usr/src/man/man3c/u8_validate.3c b/usr/src/man/man3c/u8_validate.3c index cbe4ed41ea..f870078501 100644 --- a/usr/src/man/man3c/u8_validate.3c +++ b/usr/src/man/man3c/u8_validate.3c @@ -3,7 +3,7 @@ .\" 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 u8_validate 3C "18 Sep 2007" "SunOS 5.11" "Standard C Library Functions" +.TH U8_VALIDATE 3C "Sep 18, 2007" .SH NAME u8_validate \- validate UTF-8 characters and calculate the byte length .SH SYNOPSIS @@ -18,34 +18,28 @@ u8_validate \- validate UTF-8 characters and calculate the byte length .SH PARAMETERS .sp .ne 2 -.mk .na \fB\fIu8str\fR\fR .ad .RS 10n -.rt The UTF-8 string to be validated. .RE .sp .ne 2 -.mk .na \fB\fIn\fR\fR .ad .RS 10n -.rt The maximum number of bytes in \fIu8str\fR that can be examined and validated. .RE .sp .ne 2 -.mk .na \fB\fIlist\fR\fR .ad .RS 10n -.rt A list of null-terminated character strings in UTF-8 that must be additionally checked against as invalid characters. The last string in \fIlist\fR must be null to indicate there is no further string. @@ -53,17 +47,14 @@ null to indicate there is no further string. .sp .ne 2 -.mk .na \fB\fIflag\fR\fR .ad .RS 10n -.rt Possible validation options constructed by a bitwise-inclusive-OR of the following values: .sp .ne 2 -.mk .na \fB\fBU8_VALIDATE_ENTIRE\fR\fR .ad @@ -80,7 +71,6 @@ result. .sp .ne 2 -.mk .na \fB\fBU8_VALIDATE_CHECK_ADDITIONAL\fR\fR .ad @@ -96,7 +86,6 @@ strings supplied with \fIlist\fR and returns EBADF in \fIerrnum\fR if .sp .ne 2 -.mk .na \fB\fBU8_VALIDATE_UCS2_RANGE\fR\fR .ad @@ -113,57 +102,47 @@ U+0000 to U+FFFF. .sp .ne 2 -.mk .na \fB\fIerrnum\fR\fR .ad .RS 10n -.rt An error occurred during validation. The following values are supported: .sp .ne 2 -.mk .na \fB\fBEBADF\fR\fR .ad .RS 10n -.rt Validation failed because list-specified characters were found in the string pointed to by \fIu8str\fR. .RE .sp .ne 2 -.mk .na \fB\fBEILSEQ\fR\fR .ad .RS 10n -.rt Validation failed because an illegal byte was found in the string pointed to by \fIu8str\fR. .RE .sp .ne 2 -.mk .na \fB\fBEINVAL\fR\fR .ad .RS 10n -.rt Validation failed because an incomplete byte was found in the string pointed to by \fIu8str\fR. .RE .sp .ne 2 -.mk .na \fB\fBERANGE\fR\fR .ad .RS 10n -.rt Validation failed because character bytes were encountered that are outside the range of the Unicode coding space. .RE @@ -288,15 +267,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 StabilityCommitted +Interface Stability Committed _ -MT-LevelMT-Safe +MT-Level MT-Safe .TE .SH SEE ALSO |