summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/wcscoll.3c
diff options
context:
space:
mode:
authorPeter Tribble <peter.tribble@gmail.com>2020-11-09 18:44:26 +0000
committerPeter Tribble <peter.tribble@gmail.com>2020-11-10 19:46:18 +0000
commitd59f56478a070381dd4ff329ad617788788bf84f (patch)
treea8ba2691d05051780c6b77513a8aa7e141e8a5ce /usr/src/man/man3c/wcscoll.3c
parente3522c16ecc36b92b1a4b1c7f114205270965e69 (diff)
downloadillumos-joyent-d59f56478a070381dd4ff329ad617788788bf84f.tar.gz
13292 NAME section in some man pages missing a comma
Reviewed by: Robert Mustacchi <rm@fingolfin.org> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/man/man3c/wcscoll.3c')
-rw-r--r--usr/src/man/man3c/wcscoll.3c11
1 files changed, 2 insertions, 9 deletions
diff --git a/usr/src/man/man3c/wcscoll.3c b/usr/src/man/man3c/wcscoll.3c
index 419fc49c46..6fb30aaba1 100644
--- a/usr/src/man/man3c/wcscoll.3c
+++ b/usr/src/man/man3c/wcscoll.3c
@@ -44,11 +44,10 @@
.\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved
.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
.\"
-.TH WCSCOLL 3C "April 9, 2016"
+.TH WCSCOLL 3C "November 8, 2020"
.SH NAME
-wcscoll, wcscoll_l wscoll \- wide character string comparison using collating information
+wcscoll, wcscoll_l, wscoll \- wide character string comparison using collating information
.SH SYNOPSIS
-.LP
.nf
#include <wchar.h>
@@ -63,7 +62,6 @@ wcscoll, wcscoll_l wscoll \- wide character string comparison using collating in
\fBint\fR \fBwscoll\fR(\fBconst wchar_t *\fR\fIws1\fR, \fBconst wchar_t *\fR\fIws2\fR);
.fi
.SH DESCRIPTION
-.LP
The \fBwcscoll()\fR, \fBwcscoll_l()\fR, and \fBwscoll()\fR functions compare
the wide character
string pointed to by \fIws1\fR to the wide character string pointed to by
@@ -80,7 +78,6 @@ The function \fBwcsoll_l()\fR behaves identically to \fBwcsoll\fR(), except
instead of operating in the current locale, it operates in the locale
specified by \fIloc\fR.
.SH RETURN VALUES
-.LP
Upon successful completion, these functions return an
integer greater than, equal to, or less than 0, depending upon whether the wide
character string pointed to by \fIws1\fR is greater than, equal to, or less
@@ -89,7 +86,6 @@ interpreted as appropriate to the current locale, or the locale
specified by \fIloc\fR. On error,
they set \fBerrno\fR, but no return value is reserved to indicate an error.
.SH ERRORS
-.LP
The \fBwcscoll()\fR, \fBwcscoll_l()\fR and \fBwscoll()\fR functions may fail if:
.sp
.ne 2
@@ -101,11 +97,9 @@ The \fIws1\fR or \fIws2\fR arguments contain wide character codes outside the
domain of the collating sequence.
.RE
.SH USAGE
-.LP
The \fBwcsxfrm\fR(3C) and \fBwcscmp\fR(3C) functions should be used for sorting
large lists, or when performing many comparisons on the same strings.
.SH ATTRIBUTES
-.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.TS
box;
@@ -124,7 +118,6 @@ MT-Level MT-Safe
The \fBwcscoll()\fR and \fBwcscoll_l()\fR functions are Standard.
The \fBwscoll()\fR function is Committed.
.SH SEE ALSO
-.LP
\fBnewlocale\fR(3C), \fBsetlocale\fR(3C), \fBuselocale\fR(3C),
\fBwcscmp\fR(3C), \fBwcsxfrm\fR(3C), \fBattributes\fR(5),
\fBstandards\fR(5)