summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
diff options
context:
space:
mode:
authorPeter Tribble <peter.tribble@gmail.com>2017-05-01 13:44:17 +0100
committerRobert Mustacchi <rm@joyent.com>2017-05-03 18:07:53 +0000
commitbccbd30bb6d0c20635d3f23e8d63f3f8170d3c46 (patch)
tree9dd610f85f66a62939d52ee3e7854f1d231a6235 /usr/src/man/man3c
parent719db50f9baba455978a31987e3e235ebd8a1592 (diff)
downloadillumos-joyent-bccbd30bb6d0c20635d3f23e8d63f3f8170d3c46.tar.gz
8138 Improve manpage spelling
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Cody Mello <melloc@joyent.com> Reviewed by: Patrick Mooney <patrick.mooney@joyent.com> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r--usr/src/man/man3c/atomic_or.3c8
-rw-r--r--usr/src/man/man3c/freopen.3c14
-rw-r--r--usr/src/man/man3c/getopt.3c9
-rw-r--r--usr/src/man/man3c/mbstowcs.3c2
-rw-r--r--usr/src/man/man3c/mtx.3c2
-rw-r--r--usr/src/man/man3c/tss.3c2
-rw-r--r--usr/src/man/man3c/wcstombs.3c2
7 files changed, 10 insertions, 29 deletions
diff --git a/usr/src/man/man3c/atomic_or.3c b/usr/src/man/man3c/atomic_or.3c
index 63a57c66dd..847587ef6d 100644
--- a/usr/src/man/man3c/atomic_or.3c
+++ b/usr/src/man/man3c/atomic_or.3c
@@ -93,21 +93,17 @@ atomic_or_uint_nv, atomic_or_ulong_nv, atomic_or_64_nv \- atomic OR operations
.fi
.SH DESCRIPTION
-.sp
.LP
-These functions enable the the bitwise OR of \fIbits\fR to the value stored in
+These functions enable the bitwise OR of \fIbits\fR to the value stored in
\fItarget\fR to occur in an atomic manner.
.SH RETURN VALUES
-.sp
.LP
The *\fB_nv()\fR variants of these functions return the new value of
\fItarget\fR.
.SH ERRORS
-.sp
.LP
No errors are defined.
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -125,14 +121,12 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBatomic_add\fR(3C), \fBatomic_and\fR(3C), \fBatomic_bits\fR(3C),
\fBatomic_cas\fR(3C), \fBatomic_dec\fR(3C), \fBatomic_inc\fR(3C),
\fBatomic_swap\fR(3C), \fBmembar_ops\fR(3C), \fBattributes\fR(5),
\fBatomic_ops\fR(9F)
.SH NOTES
-.sp
.LP
The *\fB_nv()\fR variants are substantially more expensive on some platforms
than the versions that do not return values. Do not use them unless you need to
diff --git a/usr/src/man/man3c/freopen.3c b/usr/src/man/man3c/freopen.3c
index 9944f3e153..e4492dc181 100644
--- a/usr/src/man/man3c/freopen.3c
+++ b/usr/src/man/man3c/freopen.3c
@@ -19,7 +19,6 @@ freopen \- open a stream
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBfreopen()\fR function first attempts to flush the stream and close any
file descriptor associated with \fIstream\fR. Failure to flush or close the
@@ -33,7 +32,7 @@ pointed to by \fIfilename\fR and associates the stream pointed to by
\fBfopen\fR(3C).
.sp
.LP
-If \fIfilename\fR is a null pointer and the application comforms to SUSv3 (see
+If \fIfilename\fR is a null pointer and the application conforms to SUSv3 (see
\fBstandards\fR(5)), the \fBfreopen()\fR function attempts to change the mode
of the stream to that specified by \fImode\fR, as though the name of the file
currently associated with the \fIstream\fR had been used. The following
@@ -61,7 +60,7 @@ When \fBa\fR or \fBw\fR is specified, the file descriptor mode must be
.RE
.sp
.LP
-If the filename is a null pointer and the application does not comform to
+If the filename is a null pointer and the application does not conform to
SUSv3, \fBfreopen()\fR returns a null pointer.
.sp
.LP
@@ -78,13 +77,11 @@ The largest value that can be represented correctly in an object of type
\fBoff_t\fR will be established as the offset maximum in the open file
description.
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, \fBfreopen()\fR returns the value of \fIstream\fR.
Otherwise, a null pointer is returned and \fBerrno\fR is set to indicate the
error.
.SH ERRORS
-.sp
.LP
The \fBfreopen()\fR function will fail if:
.sp
@@ -105,7 +102,7 @@ to be created.
\fB\fBEBADF\fR\fR
.ad
.RS 16n
-The application comforms to SUSv3, the \fIfilename\fR argument is a null
+The application conforms to SUSv3, the \fIfilename\fR argument is a null
pointer, and either the underlying file descriptor is not valid or the mode
specified when the underlying file descriptor was opened does not support the
file access modes requested by the \fImode\fR argument.
@@ -117,7 +114,7 @@ file access modes requested by the \fImode\fR argument.
\fB\fBEFAULT\fR\fR
.ad
.RS 16n
-The application does not comform to SUSv3 and the \fIfilename\fR argument is a
+The application does not conform to SUSv3 and the \fIfilename\fR argument is a
null pointer.
.RE
@@ -288,7 +285,6 @@ The file is a pure procedure (shared text) file that is being executed and
.RE
.SH USAGE
-.sp
.LP
The \fBfreopen()\fR function is typically used to attach the preopened
\fIstreams\fR associated with \fBstdin\fR, \fBstdout\fR and \fBstderr\fR to
@@ -299,7 +295,6 @@ other files. By default \fBstderr\fR is unbuffered, but the use of
The \fBfreopen()\fR function has a transitional interface for 64-bit file
offsets. See \fBlf64\fR(5).
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -317,7 +312,6 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBfclose\fR(3C), \fBfdopen\fR(3C), \fBfopen\fR(3C), \fBstdio\fR(3C),
\fBattributes\fR(5), \fBlf64\fR(5), \fBstandards\fR(5)
diff --git a/usr/src/man/man3c/getopt.3c b/usr/src/man/man3c/getopt.3c
index d8b80b8da4..a5f6e50979 100644
--- a/usr/src/man/man3c/getopt.3c
+++ b/usr/src/man/man3c/getopt.3c
@@ -50,12 +50,11 @@ getopt \- command option parsing
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBgetopt()\fR function is a command line parser that can be used by
applications that follow Basic Utility Syntax Guidelines 3, 4, 5, 6, 7, 9, and
10 which parallel those defined by application portability standards (see
-intro(1)). It can also be used by applications which additionally follow the
+Intro(1)). It can also be used by applications which additionally follow the
Command Line Interface Paradigm (CLIP) syntax extension guidelines 15, 16, and
17. It partially enforces guideline 18 by requiring that every option has a
short-name, but it allows multiple long-names to be associated with an option.
@@ -143,7 +142,6 @@ through \fIargv\fR[\fIoptind\fR-1]. If the application has not set the variable
\fIopterr\fR to 0 and the first character of \fIoptstring\fR is not a colon
(:), \fBgetopt()\fR also prints a diagnostic message to \fBstderr\fR.
.SH RETURN VALUES
-.sp
.LP
The \fBgetopt()\fR function returns the short-option character associated with
the option recognized.
@@ -160,7 +158,6 @@ character of \fIoptstring\fR was not a colon (:).
.LP
Otherwise, \fBgetopt()\fR returns -1 when all command line options are parsed.
.SH ERRORS
-.sp
.LP
No errors are defined.
.SH EXAMPLES
@@ -358,7 +355,6 @@ can also be assigned as shown in the following example:
.in -2
.SH ENVIRONMENT VARIABLES
-.sp
.LP
See \fBenviron\fR(5) for descriptions of the following environment variables
that affect the execution of \fBgetopt()\fR: \fBLANG\fR, \fBLC_ALL\fR, and
@@ -374,7 +370,6 @@ in \fIoptstring\fR.
.RE
.SH USAGE
-.sp
.LP
The \fBgetopt()\fR function does not fully check for mandatory arguments
because there is no unambiguous algorithm to do so. Given an option string
@@ -401,7 +396,6 @@ cmd \(miab \(mio filename
.sp
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -424,7 +418,6 @@ Standard See below.
.LP
For the Basic Utility Command syntax is Standard, see \fBstandards\fR(5).
.SH SEE ALSO
-.sp
.LP
\fBIntro\fR(1), \fBgetopt\fR(1), \fBgetopts\fR(1), \fBgetsubopt\fR(3C),
\fBgettext\fR(3C), \fBsetlocale\fR(3C), \fBattributes\fR(5), \fBenviron\fR(5),
diff --git a/usr/src/man/man3c/mbstowcs.3c b/usr/src/man/man3c/mbstowcs.3c
index ce2e017050..e8dcbaa861 100644
--- a/usr/src/man/man3c/mbstowcs.3c
+++ b/usr/src/man/man3c/mbstowcs.3c
@@ -100,7 +100,7 @@ function is
The
.Fn mbstowcs_l
function is
-.Sy Uncommited .
+.Sy Uncommitted .
.Sh MT-LEVEL
.Sy MT-Safe
.Sh SEE ALSO
diff --git a/usr/src/man/man3c/mtx.3c b/usr/src/man/man3c/mtx.3c
index 7a2a89b11e..8283161d61 100644
--- a/usr/src/man/man3c/mtx.3c
+++ b/usr/src/man/man3c/mtx.3c
@@ -179,7 +179,7 @@ If they were unable to successfully complete the operation, they instead
return
.Sy thrd_error .
.Pp
-Upon sucessful completion, the
+Upon successful completion, the
.Fn mtx_timedlock
function returns
.Sy thrd_success .
diff --git a/usr/src/man/man3c/tss.3c b/usr/src/man/man3c/tss.3c
index 37ae52bd97..6e4b696339 100644
--- a/usr/src/man/man3c/tss.3c
+++ b/usr/src/man/man3c/tss.3c
@@ -52,7 +52,7 @@ The
.Fn tss_create
function creates a new thread-specific data key. The key space is opaque
and global to all threads in the process. Each thread has its own
-value-space which can be mainpulated with the
+value-space which can be manipulated with the
.Fn tss_get
and
.Fn tss_set
diff --git a/usr/src/man/man3c/wcstombs.3c b/usr/src/man/man3c/wcstombs.3c
index b068bc0c8e..e1447ab239 100644
--- a/usr/src/man/man3c/wcstombs.3c
+++ b/usr/src/man/man3c/wcstombs.3c
@@ -101,7 +101,7 @@ function is
The
.Fn wcstombs_l
function is
-.Sy Uncommited .
+.Sy Uncommitted .
.Sh MT-LEVEL
.Sy MT-Safe
.Sh SEE ALSO