diff options
author | Peter Tribble <peter.tribble@gmail.com> | 2021-07-05 18:51:02 +0100 |
---|---|---|
committer | Peter Tribble <peter.tribble@gmail.com> | 2021-07-06 08:00:46 +0100 |
commit | 3a18338393f3485e50eae6288b6a9ab89e9f715a (patch) | |
tree | e5b72414175e8adb841c21a67e2dadecb502b5c2 /usr/src/man/man3c | |
parent | 88e8a81ba29ce242b8e7eade29af1f3d301ac525 (diff) | |
download | illumos-joyent-3a18338393f3485e50eae6288b6a9ab89e9f715a.tar.gz |
13890 Some manual pages miss spaces next to formatting
Reviewed by: Andy Fiddaman <andy@omnios.org>
Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r-- | usr/src/man/man3c/addsev.3c | 16 | ||||
-rw-r--r-- | usr/src/man/man3c/drand48.3c | 14 | ||||
-rw-r--r-- | usr/src/man/man3c/getwchar.3c | 11 |
3 files changed, 9 insertions, 32 deletions
diff --git a/usr/src/man/man3c/addsev.3c b/usr/src/man/man3c/addsev.3c index b5cdb16a68..8708b51da9 100644 --- a/usr/src/man/man3c/addsev.3c +++ b/usr/src/man/man3c/addsev.3c @@ -3,11 +3,10 @@ .\" 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 ADDSEV 3C "Dec 29, 1996" +.TH ADDSEV 3C "June 20, 2021" .SH NAME addsev \- define additional severities .SH SYNOPSIS -.LP .nf #include <pfmt.h> @@ -15,8 +14,6 @@ addsev \- define additional severities .fi .SH DESCRIPTION -.sp -.LP The \fBaddsev()\fR function defines additional severities for use in subsequent calls to \fBpfmt\fR(3C) or \fBlfmt\fR(3C). It associates an integer value \fIint_val\fR in the range [5-255] with a character \fIstring\fR, overwriting @@ -27,19 +24,14 @@ If \fIint_val\fR is OR-ed with the \fIflags\fR argument passed to subsequent calls to \fBpfmt()\fR or \fBlfmt()\fR, \fIstring\fR will be used as severity. Passing a null \fIstring\fR removes the severity. .SH RETURN VALUES -.sp -.LP Upon successful completion, \fBaddsev()\fR returns \fB0\fR. Otherwise it -returns\fB\(mi1\fR\&. +returns \fB\(mi1\fR\&. .SH USAGE -.sp -.LP Only the standard severities are automatically displayed for the locale in effect at runtime. An application must provide the means for displaying locale-specific versions of add-on severities. Add-on severities are only effective within the applications defining them. .SH EXAMPLES -.LP \fBExample 1 \fRExample of \fBaddsev()\fR function. .sp .LP @@ -69,8 +61,6 @@ APPL: PANIC: Cannot locate database .in -2 .SH ATTRIBUTES -.sp -.LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -85,6 +75,4 @@ MT-Level MT-safe .TE .SH SEE ALSO -.sp -.LP \fBgettxt\fR(3C), \fBlfmt\fR(3C), \fBpfmt\fR(3C), \fBattributes\fR(5) diff --git a/usr/src/man/man3c/drand48.3c b/usr/src/man/man3c/drand48.3c index 92d303b1d4..a91e5a8877 100644 --- a/usr/src/man/man3c/drand48.3c +++ b/usr/src/man/man3c/drand48.3c @@ -4,12 +4,11 @@ .\" 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 DRAND48 3C "Feb 11, 2015" +.TH DRAND48 3C "June 20, 2021" .SH NAME drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 \- generate uniformly distributed pseudo-random numbers .SH SYNOPSIS -.LP .nf #include <stdlib.h> @@ -57,7 +56,6 @@ drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48, lcong48 .fi .SH DESCRIPTION -.LP This family of functions generates pseudo-random numbers using the well-known linear congruential algorithm and 48-bit integer arithmetic. .sp @@ -68,11 +66,11 @@ double-precision floating-point values uniformly distributed over the interval .sp .LP Functions \fBlrand48()\fR and \fBnrand48()\fR return non-negative long integers -uniformly distributed over the interval [0, 2 ^31 ]. +uniformly distributed over the interval [0, 2^31]. .sp .LP Functions \fBmrand48()\fR and \fBjrand48()\fR return signed long integers -uniformly distributed over the interval [-2 ^31 , 2 ^31 ]. +uniformly distributed over the interval [-2^31, 2^31]. .sp .LP Functions \fBsrand48()\fR, \fBseed48()\fR, and \fBlcong48()\fR are @@ -93,8 +91,8 @@ X(n+1)= (aX (n)+c)(mod m) n>=0. .sp .LP The parameter \fIm\fR = 2^48; hence 48-bit integer arithmetic is performed. -Unless \fBlcong48()\fR has been invoked, the multiplier value \fIa\fRand the -addend value \fIc\fRare given by +Unless \fBlcong48()\fR has been invoked, the multiplier value \fIa\fR and the +addend value \fIc\fR are given by .br .in +2 \fIa\fR = 5DEECE66D(16) = 273673163155(8) @@ -153,7 +151,6 @@ addend values, \fIa\fR and \fIc\fR, specified above. .LP For a more powerful random number generator, see \fBarc4random\fR(3C). .SH ATTRIBUTES -.LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -170,5 +167,4 @@ MT-Level Safe .TE .SH SEE ALSO -.LP \fBarc4random\fR(3C), \fBrand\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5) diff --git a/usr/src/man/man3c/getwchar.3c b/usr/src/man/man3c/getwchar.3c index d2f150ae2b..e9c48c1231 100644 --- a/usr/src/man/man3c/getwchar.3c +++ b/usr/src/man/man3c/getwchar.3c @@ -44,11 +44,10 @@ .\" Portions Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved .\" Copyright 2014 Garrett D'Amore <garrett@damore.org> .\" -.TH GETWCHAR 3C "Jul 24, 2002" +.TH GETWCHAR 3C "June 20, 2021" .SH NAME getwchar \- get wide character from stdin stream .SH SYNOPSIS -.LP .nf #include <wchar.h> @@ -62,24 +61,19 @@ getwchar \- get wide character from stdin stream \fBwint_t\fR \fBgetwchar_l\fR(locale_t loc) .fi .SH DESCRIPTION -.LP The \fBgetwchar()\fR function is equivalent to \fBgetwc\fR(\fBstdin\fR). .LP -The\fBgetwchar_l()\fR function is equivalent to \fBgetwc\fR(\fBstdin\fR, \fIloc\fR). +The \fBgetwchar_l()\fR function is equivalent to \fBgetwc\fR(\fBstdin\fR, \fIloc\fR). .SH RETURN VALUES -.LP Refer to \fBfgetwc\fR(3C). .SH ERRORS -.LP Refer to \fBfgetwc\fR(3C). .SH USAGE -.LP If the \fBwint_t\fR value returned by \fBgetwchar()\fR is stored into a variable of type \fBwchar_t\fR and then compared against the \fBwint_t\fR macro \fBWEOF\fR, the comparison may never succeed because \fBwchar_t\fR is defined as unsigned. .SH ATTRIBUTES -.LP See \fBattributes\fR(5) for descriptions of the following attributes: .TS box; @@ -96,5 +90,4 @@ MT-Level MT-Safe The \fBgetwchar()\fR function is Standard. The \fBgetwchar_l()\fR function is Uncommitted. .SH SEE ALSO -.LP \fBfgetwc\fR(3C), \fBgetwc\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5) |