summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
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
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')
-rw-r--r--usr/src/man/man3c/ctype.3c9
-rw-r--r--usr/src/man/man3c/strftime.3c14
-rw-r--r--usr/src/man/man3c/wcscoll.3c11
3 files changed, 6 insertions, 28 deletions
diff --git a/usr/src/man/man3c/ctype.3c b/usr/src/man/man3c/ctype.3c
index c804e9d022..f1fec492aa 100644
--- a/usr/src/man/man3c/ctype.3c
+++ b/usr/src/man/man3c/ctype.3c
@@ -46,14 +46,13 @@
.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
.\" Copyright 2016 Joyent, Inc.
.\"
-.TH CTYPE 3C "Mar 14, 2016"
+.TH CTYPE 3C "November 8, 2020"
.SH NAME
ctype, isalpha, isalnum, isascii, isblank, iscntrl, isdigit, islower,
isprint, isspace, isupper, ispunct, isgraph, isxdigit, isalpha_l,
isalnum_l, isblank_l, iscntrl_l, isdigit_l, islower_l, isprint_l,
-isspace_l, isupper_l, ispunct_l, isgraph_l isxdigit_l \- character handling
+isspace_l, isupper_l, ispunct_l, isgraph_l, isxdigit_l \- character handling
.SH SYNOPSIS
-.LP
.nf
#include <ctype.h>
@@ -156,7 +155,6 @@ isspace_l, isupper_l, ispunct_l, isgraph_l isxdigit_l \- character handling
\fBint\fR \fBisxdigit_l\fR(\fBint\fR \fIc\fR, \fBlocale_t\fR \fIloc\fR);
.fi
.SH DESCRIPTION
-.LP
These functions classify character-coded integer values. Each is a
predicate returning non-zero for true, \fB0\fR for false. The behavior
of these macros, except \fBisascii()\fR, is affected by the current
@@ -330,13 +328,11 @@ are included.
.RE
.SH RETURN VALUES
-.LP
If the argument to any of the character handling macros is not in the domain of
the function, the result is undefined. Otherwise, the macro or function returns
non-zero if the classification is \fBTRUE\fR and \fB0\fR if the classification
is \fBFALSE\fR.
.SH ATTRIBUTES
-.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.TS
box;
@@ -352,7 +348,6 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-.LP
\fBnewlocale\fR(3C), \fBsetlocale\fR(3C), \fBuselocale\fR(3C),
\fBstdio\fR(3C), \fBascii\fR(5), \fBenviron\fR(5),
\fBstandards\fR(5)
diff --git a/usr/src/man/man3c/strftime.3c b/usr/src/man/man3c/strftime.3c
index 269213fed4..3345563543 100644
--- a/usr/src/man/man3c/strftime.3c
+++ b/usr/src/man/man3c/strftime.3c
@@ -46,11 +46,10 @@
.\" Copyright (c) 2014 Gary Mills
.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
.\"
-.TH STRFTIME 3C "Mar 30, 2019"
+.TH STRFTIME 3C "November 8, 2020"
.SH NAME
-strftime, strftime_l cftime, ascftime \- convert date and time to string
+strftime, strftime_l, cftime, ascftime \- convert date and time to string
.SH SYNOPSIS
-.LP
.nf
#include <time.h>
@@ -75,7 +74,6 @@ strftime, strftime_l cftime, ascftime \- convert date and time to string
.fi
.SH DESCRIPTION
-.LP
The \fBstrftime()\fR, \fBstrftime_l()\fR, \fBascftime()\fR, and \fBcftime()\fR
functions place
bytes into the array pointed to by \fIs\fR as controlled by the string pointed
@@ -517,7 +515,6 @@ with a Sunday for \fB%U\fR or a Monday for \fB%W\fR. Week number 0 contains
those days before the first Sunday or Monday in January for \fB%U\fR and
\fB%W\fR, respectively.
.SS "Modified Conversion Specifications"
-.LP
Some conversion specifications can be modified by the \fBE\fR and \fBO\fR
modifiers to indicate that an alternate format or specification should be used
rather than the one normally used by the unmodified conversion specification.
@@ -718,15 +715,12 @@ the locale's alternate numeric symbols.
.RE
.SS "Selecting the Output Language"
-.LP
These routines produce output that is formatted according to the \fBLC_TIME\fR
locale category. They use either the current locale, or in the case of
\fBstrftime_l()\fR, the locale supplied by \fIloc\fR.
.SS "Time Zone"
-.LP
Local time zone information is used as though \fBtzset\fR(3C) were called.
.SH RETURN VALUES
-.LP
These functions return the
number of characters placed into the array pointed to by \fIs\fR, not including
the terminating null character. If the total number of resulting characters
@@ -734,7 +728,6 @@ including the terminating null character is more than \fImaxsize\fR,
\fBstrftime()\fR returns \fB0\fR and the contents of the array are
indeterminate.
.SH EXAMPLES
-.LP
\fBExample 1 \fRAn example of the \fBstrftime()\fR function.
.LP
The following example illustrates the use of \fBstrftime()\fR for the
@@ -748,7 +741,6 @@ Thursday, August 28, 1986 at 12:44:36.
.LP
This results in \fIstr\fR containing "Thursday Aug 28 240".
.SH ATTRIBUTES
-.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.TS
box;
@@ -771,13 +763,11 @@ The \fBstrftime()\fR and \fBstrftime_l()\fR functions are Standard.
.LP
For \fBstrftime()\fR and \fBstrftime_l()\fR, see \fBstandards\fR(5).
.SH SEE ALSO
-.LP
\fBdate\fR(1), \fBctime\fR(3C), \fBmktime\fR(3C),
\fBnewlocale\fR(3C), \fBsetlocale\fR(3C), \fBstrptime\fR(3C), \fBtzset\fR(3C),
\fBuselocale\fR(3C), \fBTIMEZONE\fR(4), \fBzoneinfo\fR(4),
\fBattributes\fR(5), \fBenviron\fR(5), \fBstandards\fR(5)
.SH NOTES
-.LP
The conversion specification for \fB%V\fR was changed in the Solaris 7 release.
This change was based on the public review draft of the ISO C9x standard at
that time. Previously, the specification stated that if the week containing 1
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)