diff options
author | Peter Tribble <peter.tribble@gmail.com> | 2017-11-26 12:48:57 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2017-11-28 21:42:38 +0000 |
commit | c5bab7026b8e0ac44b25ee08507ea360f177d844 (patch) | |
tree | 5301bd9e811604a5e0d503152f8759d88274d54b /usr/src/man/man3c | |
parent | a71e11eee4676204c7609c4c9703cc98fbf4669d (diff) | |
download | illumos-gate-c5bab7026b8e0ac44b25ee08507ea360f177d844.tar.gz |
8861 more manpage spelling errors
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Andy Fiddaman <andy@omniosce.org>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r-- | usr/src/man/man3c/clock_settime.3c | 9 | ||||
-rw-r--r-- | usr/src/man/man3c/getprogname.3c | 4 | ||||
-rw-r--r-- | usr/src/man/man3c/getvfsent.3c | 10 | ||||
-rw-r--r-- | usr/src/man/man3c/newlocale.3c | 4 | ||||
-rw-r--r-- | usr/src/man/man3c/priv_str_to_set.3c | 9 | ||||
-rw-r--r-- | usr/src/man/man3c/sched_setscheduler.3c | 9 | ||||
-rw-r--r-- | usr/src/man/man3c/thr_min_stack.3c | 7 |
7 files changed, 14 insertions, 38 deletions
diff --git a/usr/src/man/man3c/clock_settime.3c b/usr/src/man/man3c/clock_settime.3c index 2eb447bc32..98b9b1ffe4 100644 --- a/usr/src/man/man3c/clock_settime.3c +++ b/usr/src/man/man3c/clock_settime.3c @@ -9,7 +9,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 CLOCK_SETTIME 3C "Feb 5, 2008" +.TH CLOCK_SETTIME 3C "Nov 26, 2017" .SH NAME clock_settime, clock_gettime, clock_getres \- high-resolution clock operations .SH SYNOPSIS @@ -31,7 +31,6 @@ clock_settime, clock_gettime, clock_getres \- high-resolution clock operations .fi .SH DESCRIPTION -.sp .LP The \fBclock_settime()\fR function sets the specified clock, \fIclock_id\fR, to the value specified by \fItp\fR. Time values that are between two consecutive @@ -52,7 +51,7 @@ is not a multiple of \fIres\fR, then the value is truncated to a multiple of \fIres\fR. .sp .LP -A clock may be systemwide (that is, visible to all processes) or per-process +A clock may be system wide (that is, visible to all processes) or per-process (measuring time that is meaningful only within a process). .sp .LP @@ -77,12 +76,10 @@ of \fBadjtime\fR(2), \fBntp_adjtime\fR(2), \fBsettimeofday\fR(3C), or Additional clocks may also be supported. The interpretation of time values for these clocks is unspecified. .SH RETURN VALUES -.sp .LP Upon successful completion, \fB0\fR is returned. Otherwise, \fB\(mi1\fR is returned and \fBerrno\fR is set to indicate the error. .SH ERRORS -.sp .LP The \fBclock_settime()\fR, \fBclock_gettime()\fR and \fBclock_getres()\fR functions will fail if: @@ -133,7 +130,6 @@ specified clock. .RE .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -153,7 +149,6 @@ Standard See \fBstandards\fR(5). .TE .SH SEE ALSO -.sp .LP \fBtime\fR(2), \fBctime\fR(3C), \fBgethrtime\fR(3C), \fBtime.h\fR(3HEAD), \fBtimer_gettime\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5) diff --git a/usr/src/man/man3c/getprogname.3c b/usr/src/man/man3c/getprogname.3c index 3825dd91d9..df83b3d2ae 100644 --- a/usr/src/man/man3c/getprogname.3c +++ b/usr/src/man/man3c/getprogname.3c @@ -11,7 +11,7 @@ .\" .\" Copyright (c) 2014, Joyent, Inc. .\" -.Dd "Dec 22, 2014" +.Dd "Nov 26, 2017" .Dt GETPROGNAME 3C .Os .Sh NAME @@ -45,7 +45,7 @@ The function is used to change the program name to another value. The argument .Fa progname -must contain a null terminatd character string, whose last component +must contain a null terminated character string, whose last component which will become the new program name. .Sh RETURN VALUES The diff --git a/usr/src/man/man3c/getvfsent.3c b/usr/src/man/man3c/getvfsent.3c index 370b56e51c..cd3ab2b5d9 100644 --- a/usr/src/man/man3c/getvfsent.3c +++ b/usr/src/man/man3c/getvfsent.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 GETVFSENT 3C "Mar 12, 1997" +.TH GETVFSENT 3C "Nov 26, 2017" .SH NAME getvfsent, getvfsfile, getvfsspec, getvfsany \- get vfstab file entry .SH SYNOPSIS @@ -31,7 +31,6 @@ getvfsent, getvfsfile, getvfsspec, getvfsany \- get vfstab file entry .fi .SH DESCRIPTION -.sp .LP The \fBgetvfsent()\fR, \fBgetvfsfile()\fR, \fBgetvfsspec()\fR, and \fBgetvfsany()\fR functions each fill in the structure pointed to by \fIvp\fR @@ -72,13 +71,12 @@ it cannot match in this manner, then it compares the strings. .sp .LP The \fBgetvfsany()\fR function searches the file referenced by \fIfp\fR until a -match is found between a line in the file and \fIvref\fR. A match occurrs if +match is found between a line in the file and \fIvref\fR. A match occurs if all non-null entries in \fIvref\fR match the corresponding fields in the file. .sp .LP Note that these functions do not open, close, or rewind the file. .SH RETURN VALUES -.sp .LP If the next entry is successfully read by \fBgetvfsent()\fR or a match is found with \fBgetvfsfile()\fR, \fBgetvfsspec()\fR, or \fBgetvfsany()\fR, \fB0\fR is @@ -113,11 +111,9 @@ A line in the file contains too few fields. .RE .SH FILES -.sp .LP \fB/etc/vfstab\fR .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -133,11 +129,9 @@ MT-Level Safe .TE .SH SEE ALSO -.sp .LP \fBvfstab\fR(4), \fBattributes\fR(5) .SH NOTES -.sp .LP The members of the \fBvfstab\fR structure point to information contained in a static area, so it must be copied if it is to be saved. diff --git a/usr/src/man/man3c/newlocale.3c b/usr/src/man/man3c/newlocale.3c index b5102954e5..7bbf553bf6 100644 --- a/usr/src/man/man3c/newlocale.3c +++ b/usr/src/man/man3c/newlocale.3c @@ -13,7 +13,7 @@ .\" Copyright (c) 2014 Joyent, Inc. All rights reserved. .\" Copyright 2014 Garrett D'Amore <garrett@damore.org> .\" -.TH NEWLOCALE 3C "Jun 23, 2014" +.TH NEWLOCALE 3C "Nov 26, 2017" .SH NAME duplocale, freelocale, newlocale \- create, duplicate, and destroy locale objects .SH SYNOPSIS @@ -70,7 +70,7 @@ following three locales may always be passed in as the string Specifies the traditional UNIX system behavior. .TP "POSIX" -An alternate name fo the locale "C". +An alternate name for the locale "C". .TP "" Indicates that the locale should be processed based in the values in the diff --git a/usr/src/man/man3c/priv_str_to_set.3c b/usr/src/man/man3c/priv_str_to_set.3c index 783b41238a..c9b0723ba1 100644 --- a/usr/src/man/man3c/priv_str_to_set.3c +++ b/usr/src/man/man3c/priv_str_to_set.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 PRIV_STR_TO_SET 3C "Jan 6, 2004" +.TH PRIV_STR_TO_SET 3C "Nov 26, 2017" .SH NAME priv_str_to_set, priv_set_to_str, priv_getbyname, priv_getbynum, priv_getsetbyname, priv_getsetbynum, priv_gettext \- privilege name functions @@ -47,7 +47,6 @@ priv_getsetbyname, priv_getsetbynum, priv_gettext \- privilege name functions .fi .SH DESCRIPTION -.sp .LP The \fBpriv_str_to_set()\fR function maps the privilege specification in \fIbuf\fR to a privilege set. It returns a privilege set on success or @@ -108,7 +107,7 @@ be modified and is valid for the lifetime of the process. Both functions return .LP The \fBpriv_gettext()\fR function returns a pointer to a string consisting of one or more newline-separated lines of text describing the privilege. The text -is localized using {\fBLC_MESSAGES\fR}. The application is responsibe for +is localized using {\fBLC_MESSAGES\fR}. The application is responsible for freeing the memory returned. .sp .LP @@ -116,7 +115,6 @@ These functions pick up privileges allocated during the lifetime of the process using \fBpriv_getbyname\fR(9F) by refreshing the internal data structures when necessary. .SH RETURN VALUES -.sp .LP Upon successful completion, \fBpriv_str_to_set()\fR and \fBpriv_set_to_str()\fR return a non-null pointer to allocated memory that should be freed by the @@ -138,7 +136,6 @@ Upon successful completion, \fBpriv_gettext()\fR returns a non-null value. It returns \fINULL\fR if an error occurs or no descriptive text for the specified privilege can be found. .SH ERRORS -.sp .LP The \fBpriv_str_to_set()\fR and \fBpriv_set_to_str()\fR functions will fail if: .sp @@ -202,7 +199,6 @@ for (i = 0; (name = priv_getbynum(i++)) != NULL; ) .in -2 .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -220,7 +216,6 @@ MT-Level MT-Safe .TE .SH SEE ALSO -.sp .LP \fBfree\fR(3C), \fBpriv_set\fR(3C), \fBattributes\fR(5), \fBprivileges\fR(5), \fBpriv_getbyname\fR(9F) diff --git a/usr/src/man/man3c/sched_setscheduler.3c b/usr/src/man/man3c/sched_setscheduler.3c index c87c6e2f0b..1dd4889113 100644 --- a/usr/src/man/man3c/sched_setscheduler.3c +++ b/usr/src/man/man3c/sched_setscheduler.3c @@ -9,7 +9,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 SCHED_SETSCHEDULER 3C "Apr 1, 2008" +.TH SCHED_SETSCHEDULER 3C "Nov 26, 2017" .SH NAME sched_setscheduler \- set scheduling policy and scheduling parameters .SH SYNOPSIS @@ -22,7 +22,6 @@ sched_setscheduler \- set scheduling policy and scheduling parameters .fi .SH DESCRIPTION -.sp .LP The \fBsched_setscheduler()\fR function sets the scheduling policy and scheduling parameters of the process specified by \fIpid\fR to \fIpolicy\fR and @@ -62,14 +61,12 @@ in setting the scheduling policy and scheduling parameters of the process specified by \fIpid\fR to the values specified by \fIpolicy\fR and the structure pointed to by \fIparam\fR, respectively. .SH RETURN VALUES -.sp .LP Upon successful completion, the function returns the former scheduling policy of the specified process. If the \fBsched_setscheduler()\fR function fails to -complete successfully, the policy and scheduling paramenters remain unchanged, +complete successfully, the policy and scheduling parameters remain unchanged, and the function returns \(mi1 and sets \fBerrno\fR to indicate the error. .SH ERRORS -.sp .LP The \fBsched_setscheduler()\fR function will fail if: .sp @@ -103,7 +100,6 @@ No process can be found corresponding to that specified by \fIpid.\fR .RE .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -123,7 +119,6 @@ Standard See \fBstandards\fR(5). .TE .SH SEE ALSO -.sp .LP \fBpriocntl\fR(1), \fBIntro\fR(2), \fBexec\fR(2), \fBpriocntl\fR(2), \fBlibrt\fR(3LIB), \fBsched.h\fR(3HEAD), \fBsched_get_priority_max\fR(3C), diff --git a/usr/src/man/man3c/thr_min_stack.3c b/usr/src/man/man3c/thr_min_stack.3c index 4229aabc21..252fc81551 100644 --- a/usr/src/man/man3c/thr_min_stack.3c +++ b/usr/src/man/man3c/thr_min_stack.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 THR_MIN_STACK 3C "May 12, 1998" +.TH THR_MIN_STACK 3C "Nov 26, 2017" .SH NAME thr_min_stack \- return the minimum-allowable size for a thread's stack .SH SYNOPSIS @@ -16,11 +16,10 @@ cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] .fi .SH DESCRIPTION -.sp .LP When a thread is created with a user-supplied stack, the user must reserve enough space to run this thread. In a dynamically linked execution environment, -it is very hard to know what the minimum stack requirments are for a thread. +it is very hard to know what the minimum stack requirements are for a thread. The function \fBthr_min_stack()\fR returns the amount of space needed to execute a null thread. This is a thread that was created to execute a null procedure. A thread that does something useful should have a stack size that is @@ -67,7 +66,6 @@ main(\|) { .in -2 .SH ATTRIBUTES -.sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -83,6 +81,5 @@ MT-Level MT-Safe .TE .SH SEE ALSO -.sp .LP \fBattributes\fR(5), \fBstandards\fR(5) |