summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r--usr/src/man/man3c/door_getparam.3c12
-rw-r--r--usr/src/man/man3c/econvert.3c8
-rw-r--r--usr/src/man/man3c/epoll_create.3c4
-rw-r--r--usr/src/man/man3c/epoll_ctl.3c4
-rw-r--r--usr/src/man/man3c/eventfd.3c4
-rw-r--r--usr/src/man/man3c/getline.3c8
-rw-r--r--usr/src/man/man3c/gettext.3c10
-rw-r--r--usr/src/man/man3c/getutent.3c17
-rw-r--r--usr/src/man/man3c/iswalpha.3c5
-rw-r--r--usr/src/man/man3c/port_alert.3c9
-rw-r--r--usr/src/man/man3c/port_associate.3c4
-rw-r--r--usr/src/man/man3c/port_create.3c9
-rw-r--r--usr/src/man/man3c/port_get.3c13
-rw-r--r--usr/src/man/man3c/pthread_rwlock_timedrdlock.3c9
-rw-r--r--usr/src/man/man3c/signalfd.3c2
-rw-r--r--usr/src/man/man3c/timerfd_create.3c4
-rw-r--r--usr/src/man/man3c/wcscasecmp.3c4
-rw-r--r--usr/src/man/man3c/wcscoll.3c7
18 files changed, 39 insertions, 94 deletions
diff --git a/usr/src/man/man3c/door_getparam.3c b/usr/src/man/man3c/door_getparam.3c
index 969a8a61ba..ae17a48dd7 100644
--- a/usr/src/man/man3c/door_getparam.3c
+++ b/usr/src/man/man3c/door_getparam.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 DOOR_GETPARAM 3C "Mar 22, 2005"
+.TH DOOR_GETPARAM 3C "April 9, 2016"
.SH NAME
door_getparam, door_setparam \- retrieve and set door parameters
.SH SYNOPSIS
@@ -21,7 +21,6 @@ door_getparam, door_setparam \- retrieve and set door parameters
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBdoor_getparam()\fR function retrieves the value of \fIparam\fR for the
door descriptor \fId\fR and writes it through the pointer \fIout\fR. The
@@ -49,7 +48,7 @@ is initialized to \fBSIZE_MAX\fR and can be set to any value from 0 to
\fB\fBDOOR_PARAM_DATA_MIN\fR\fR
.ad
.RS 23n
-This parameter represents the the minimum amount of data that can be passed to
+This parameter represents the minimum amount of data that can be passed to
the door routine. Any attempt to call \fBdoor_call\fR(3C) on a door with a
\fIdata_size\fR value smaller than the door's \fBDOOR_PARAM_DATA_MIN\fR
parameter will fail with \fBENOBUFS\fR. At door creation time, this parameter
@@ -64,7 +63,7 @@ inclusive. This parameter must be less than or equal to the
\fB\fBDOOR_PARAM_DESC_MAX\fR\fR
.ad
.RS 23n
-This parameter represents the the maximum number of argument descriptors that
+This parameter represents the maximum number of argument descriptors that
can be passed to the door routine. Any attempt to call \fBdoor_call\fR(3C) on a
door with a \fIdesc_nu\fRm value larger than the door's
\fBDOOR_PARAM_DESC_MAX\fR parameter will fail with \fBENFILE\fR. If the door
@@ -78,12 +77,10 @@ to 0 and cannot be changed to any other value. Otherwise, it is initialized to
The \fBdoor_setparam()\fR function can only affect doors that were created by
the current process.
.SH RETURN VALUES
-.sp
.LP
Upon successful completion, 0 is returned. Otherwise, -1 is returned and
\fBerrno\fR is set to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBdoor_getparam()\fR function will fail if:
.sp
@@ -203,7 +200,6 @@ if (door_setparam(fd, DOOR_PARAM_DATA_MIN,
.in -2
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -221,11 +217,9 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBdoor_call\fR(3C), \fBdoor_create\fR(3C), \fBattributes\fR(5)
.SH NOTES
-.sp
.LP
The parameters that can be manipulated by \fBdoor_setparam()\fR are not the
only limitation on the size of requests. If the door server thread's stack size
diff --git a/usr/src/man/man3c/econvert.3c b/usr/src/man/man3c/econvert.3c
index e8f7ae6814..d2af5c2ef2 100644
--- a/usr/src/man/man3c/econvert.3c
+++ b/usr/src/man/man3c/econvert.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 ECONVERT 3C "May 3, 1999"
+.TH ECONVERT 3C "April 9, 2016"
.SH NAME
econvert, fconvert, gconvert, seconvert, sfconvert, sgconvert, qeconvert,
qfconvert, qgconvert \- output conversion
@@ -62,7 +62,6 @@ qfconvert, qgconvert \- output conversion
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBeconvert()\fR function converts the \fIvalue\fR to a null-terminated
string of \fIndigit\fR \fBASCII\fR digits in \fIbuf\fR and returns a pointer to
@@ -80,7 +79,7 @@ correct digit has been rounded as if for \fBsprintf(%w.nf)\fR output with
\fIn\fR=\fIndigit\fR digits to the right of the decimal point. \fIndigit\fR can
be negative to indicate rounding to the left of the decimal point. The return
value is a pointer to \fIbuf\fR. \fIbuf\fR should contain at least
-\fI310+max(0,ndigit)\fR characters to accomodate any double-precision
+\fI310+max(0,ndigit)\fR characters to accommodate any double-precision
\fIvalue\fR.
.sp
.LP
@@ -123,13 +122,11 @@ are documented on the \fBecvt\fR(3C) manual page. They constitute the default
implementation of these functions and conform to the X/Open CAE Specification,
System Interfaces and Headers, Issue 4, Version 2.
.SH USAGE
-.sp
.LP
\fBIEEE\fR Infinities and NaNs are treated similarly by these functions.
``NaN'' is returned for NaN, and ``Inf'' or ``Infinity'' for Infinity. The
longer form is produced when \fIndigit\fR >= 8.
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -145,6 +142,5 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBecvt\fR(3C),\fBsprintf\fR(3C), \fBattributes\fR(5)
diff --git a/usr/src/man/man3c/epoll_create.3c b/usr/src/man/man3c/epoll_create.3c
index 6f54f638f7..83ea81e204 100644
--- a/usr/src/man/man3c/epoll_create.3c
+++ b/usr/src/man/man3c/epoll_create.3c
@@ -8,7 +8,7 @@
.\" A full copy of the text of the CDDL should have accompanied this
.\" source. A copy of the CDDL is also available via the Internet at
.\" http://www.illumos.org/license/CDDL.
-.TH EPOLL_CREATE 3C "Apr 17, 2014"
+.TH EPOLL_CREATE 3C "April 9, 2016"
.SH NAME
epoll_create, epoll_create1 \- create an epoll instance
.SH SYNOPSIS
@@ -50,7 +50,7 @@ Instance should be closed upon an
.SH RETURN VALUES
.LP
-Upon succesful completion, 0 is returned. Otherwise, -1 is returned and errno
+Upon successful completion, 0 is returned. Otherwise, -1 is returned and errno
is set to indicate the error.
.SH ERRORS
.LP
diff --git a/usr/src/man/man3c/epoll_ctl.3c b/usr/src/man/man3c/epoll_ctl.3c
index 19c02f2abb..dac849d5c3 100644
--- a/usr/src/man/man3c/epoll_ctl.3c
+++ b/usr/src/man/man3c/epoll_ctl.3c
@@ -8,7 +8,7 @@
.\" A full copy of the text of the CDDL should have accompanied this
.\" source. A copy of the CDDL is also available via the Internet at
.\" http://www.illumos.org/license/CDDL.
-.TH EPOLL_CTL 3C "Apr 17, 2014"
+.TH EPOLL_CTL 3C "April 9, 2016"
.SH NAME
epoll_ctl \- control an epoll instance
.SH SYNOPSIS
@@ -245,7 +245,7 @@ with caution.
.SH RETURN VALUES
.LP
-Upon succesful completion, \fBepoll_ctl()\fR returns 0.
+Upon successful completion, \fBepoll_ctl()\fR returns 0.
If an error occurs, -1 is returned and errno is set to indicate
the error.
diff --git a/usr/src/man/man3c/eventfd.3c b/usr/src/man/man3c/eventfd.3c
index 74e164404e..459f0457f9 100644
--- a/usr/src/man/man3c/eventfd.3c
+++ b/usr/src/man/man3c/eventfd.3c
@@ -11,7 +11,7 @@
.\"
.\" Copyright (c) 2014, Joyent, Inc. All Rights Reserved.
.\"
-.Dd Dec 3, 2014
+.Dd April 9, 2016
.Dt EVENTFD 3C
.Os
.Sh NAME
@@ -158,7 +158,7 @@ will be set.
.Ed
.El
.Sh RETURN VALUES
-Upon succesful completion, a file descriptor associated with the instance
+Upon successful completion, a file descriptor associated with the instance
is returned. Otherwise,
.Sy -1 is returned and
.Sy errno
diff --git a/usr/src/man/man3c/getline.3c b/usr/src/man/man3c/getline.3c
index a8db7df218..4339315d38 100644
--- a/usr/src/man/man3c/getline.3c
+++ b/usr/src/man/man3c/getline.3c
@@ -12,7 +12,7 @@
.\"
.\" Copyright (c) 2013, Joyent, Inc. All rights reserved.
.\"
-.TH GETLINE 3C "Apr 24, 2013"
+.TH GETLINE 3C "April 9, 2016"
.SH NAME
getline, getdelim \- read delimited input from streams
.SH SYNOPSIS
@@ -36,7 +36,7 @@ getline, getdelim \- read delimited input from streams
.fi
.SH DESCRIPTION
-The \fBgetdelim\fR() function reads bytes from the \fIstream\fR into the the
+The \fBgetdelim\fR() function reads bytes from the \fIstream\fR into the
array pointed to by \fIptr\fR, until the \fIdelimiter\fR byte or an end-of-file
condition is encountered. The \fBgetline\fR() function is identical in
behaviour, but uses the newline character as the delimiter. The delimiter
@@ -51,7 +51,6 @@ hold the string it will be expanded, as if via \fBrealloc(3C)\fR. The caller
must \fBfree(3C)\fR the buffer when it is no longer required.
.SH RETURN VALUES
-.sp
.LP
If successful, \fBgetdelim\fR() and \fBgetline\fR() return the number of bytes
written into the buffer, excluding the terminating null byte. If an error
@@ -59,7 +58,6 @@ occurs, or if end-of-file is reached prior to reading any bytes, the value
\fB\(mi1\fR is returned and \fIerrno\fR is set to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBgetline\fR() and \fBgetdelim\fR() functions may fail due to the
following errors:
@@ -117,7 +115,6 @@ free(ptr);
.in -2
.SH ATTRIBUTES
-.sp
.TS
box;
c | c
@@ -130,7 +127,6 @@ MT-Level MT-Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBfgetc\fR(3C), \fBfgets\fR(3C), \fBfree\fR(3C), \fBmalloc\fR(3C),
\fBrealloc\fR(3C), \fBattributes\fR(5)
diff --git a/usr/src/man/man3c/gettext.3c b/usr/src/man/man3c/gettext.3c
index d213b9cbbb..b0a272753c 100644
--- a/usr/src/man/man3c/gettext.3c
+++ b/usr/src/man/man3c/gettext.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 GETTEXT 3C "Jun 4, 2008"
+.TH GETTEXT 3C "April 9, 2016"
.SH NAME
gettext, dgettext, dcgettext, ngettext, dngettext, dcngettext, textdomain,
bindtextdomain, bind_textdomain_codeset \- message handling functions
@@ -77,7 +77,6 @@ extern int *_nl_domain_bindings;
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBgettext()\fR, \fBdgettext()\fR, and \fBdcgettext()\fR functions attempt
to retrieve a target string based on the specified \fImsgid\fR argument within
@@ -200,7 +199,6 @@ in the function and must not be changed by the user.
The external variables \fB_nl_msg_cat_cntr\fR and \fB_nl_domain_bindings\fR are
provided for the compatibility with the GNU \fBgettext()\fR implementation.
.SH RETURN VALUES
-.sp
.LP
The \fBgettext()\fR, \fBdgettext()\fR, and \fBdcgettext()\fR functions return
the message string if the search succeeds. Otherwise they return the
@@ -219,7 +217,7 @@ is a null pointer, the return value is undefined. The string returned must not
be modified by the program and can be invalidated by a subsequent call to
\fBbind_textdomain_codeset()\fR or \fBsetlocale\fR(3C). If the
\fIdomainname\fR argument to \fBdgettext()\fR,\fBdcgettext()\fR,
-\fBdngettext()\fR, or \fBdcngettext()\fR is a null pointer, the the domain
+\fBdngettext()\fR, or \fBdcngettext()\fR is a null pointer, the domain
currently bound by \fBtextdomain()\fR is used.
.sp
.LP
@@ -240,7 +238,6 @@ pointer or an empty string, \fBbindtextdomain()\fR takes no action and returns
a null pointer. The string returned must not be modified by the caller. If
\fBbindtextdomain()\fR fails, a null pointer is returned.
.SH USAGE
-.sp
.LP
These functions impose no limit on message length. However, a text
\fIdomainname\fR is limited to \fBTEXTDOMAINMAX\fR (256) bytes.
@@ -261,7 +258,6 @@ functions work only with GNU-compatible message catalogues. See
\fBmsgfmt\fR(1) for information about Solaris message catalogues and
GNU-compatible message catalogues.
.SH FILES
-.sp
.ne 2
.na
\fB\fB/usr/lib/locale\fR\fR
@@ -325,7 +321,6 @@ location for files containing messages for domain \fIdomainname,\fR language
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -347,7 +342,6 @@ MT-Level Safe with exceptions
The external variables \fB_nl_msg_cat_cntr\fR and \fB_nl_domain_bindings\fR are
Uncommitted.
.SH SEE ALSO
-.sp
.LP
\fBmsgfmt\fR(1), \fBxgettext\fR(1), \fBiconv_open\fR(3C),
\fBlibintl.h\fR(3HEAD), \fBsetlocale\fR(3C), \fBattributes\fR(5),
diff --git a/usr/src/man/man3c/getutent.3c b/usr/src/man/man3c/getutent.3c
index 7ca4d19939..76b25cec9c 100644
--- a/usr/src/man/man3c/getutent.3c
+++ b/usr/src/man/man3c/getutent.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 GETUTENT 3C "Oct 27, 1998"
+.TH GETUTENT 3C "April 9, 2016"
.SH NAME
getutent, getutid, getutline, pututline, setutent, endutent, utmpname \- user
accounting database functions
@@ -46,7 +46,6 @@ accounting database functions
.fi
.SH DESCRIPTION
-.sp
.LP
These functions provide access to the user accounting database, \fButmp\fR.
Entries in the database are described by the definitions and data structures in
@@ -81,13 +80,11 @@ short e_exit; /* exit status */
.in -2
.SS "\fBgetutent()\fR"
-.sp
.LP
The \fBgetutent()\fR function reads in the next entry from a \fButmp\fR
database. If the database is not already open, it opens it. If it reaches the
end of the database, it fails.
.SS "\fBgetutid()\fR"
-.sp
.LP
The \fBgetutid()\fR function searches forward from the current point in the
\fButmp\fR database until it finds an entry with a \fBut_type\fR matching
@@ -99,20 +96,18 @@ pointer to the first entry whose type is one of these four and whose
\fBut_id\fR member matches \fIid\fR->\fBut_id\fR. If the end of database is
reached without a match, it fails.
.SS "\fBgetutline()\fR"
-.sp
.LP
The \fBgetutline()\fR function searches forward from the current point in the
\fButmp\fR database until it finds an entry of the type \fBLOGIN_PROCESS\fR or
\fBut_line\fR string matching the \fIline\fR->\fBut_line\fR string. If the end
of database is reached without a match, it fails.
.SS "\fBpututline()\fR"
-.sp
.LP
The \fBpututline()\fR function writes the supplied \fButmp\fR structure into
the \fButmp\fR database. It uses \fBgetutid()\fR to search forward for the
proper place if it finds that it is not already at the proper place. It is
expected that normally the user of \fBpututline()\fR will have searched for the
-proper entry using one of the these functions. If so, \fBpututline()\fR will
+proper entry using one of these functions. If so, \fBpututline()\fR will
not search. If \fBpututline()\fR does not find a matching slot for the new
entry, it will add a new entry to the end of the database. It returns a
pointer to the \fButmp\fR structure. When called by a non-root user,
@@ -123,17 +118,14 @@ associated with the process; the \fBut_type\fR member must be either
\fBUSER_PROCESS\fR or \fBDEAD_PROCESS\fR; and the \fBut_line\fR member must be
a device special file and be writable by the user.
.SS "\fBsetutent()\fR"
-.sp
.LP
The \fBsetutent()\fR function resets the input stream to the beginning. This
reset should be done before each search for a new entry if it is desired that
the entire database be examined.
.SS "\fBendutent()\fR"
-.sp
.LP
The \fBendutent()\fR function closes the currently open database.
.SS "\fButmpname()\fR"
-.sp
.LP
The \fButmpname()\fR function allows the user to change the name of the
database file examined to another file. If the file does not exist, this will
@@ -141,14 +133,12 @@ not be apparent until the first attempt to reference the file is made. The
\fButmpname()\fR function does not open the file but closes the old file if it
is currently open and saves the new file name.
.SH RETURN VALUES
-.sp
.LP
A null pointer is returned upon failure to read, whether for permissions or
having reached the end of file, or upon failure to write. If the file name
given is longer than 79 characters, \fButmpname()\fR returns \fB0\fR.
Otherwise, it returns \fB1\fR.
.SH USAGE
-.sp
.LP
These functions use buffered standard I/O for input, but \fBpututline()\fR uses
an unbuffered non-standard write to avoid race conditions between processes
@@ -162,7 +152,6 @@ to fail if user accounting data cannot be represented properly in the
\fButmp\fR structure (for example, on a system where PIDs can exceed 32767).
Use the functions described on the \fBgetutxent\fR(3C) manual page instead.
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -178,11 +167,9 @@ MT-Level Unsafe
.TE
.SH SEE ALSO
-.sp
.LP
\fBgetutxent\fR(3C), \fBttyslot\fR(3C), \fButmpx\fR(4), \fBattributes\fR(5)
.SH NOTES
-.sp
.LP
The most current entry is saved in a static structure. Multiple accesses
require that it be copied before further accesses are made. On each call to
diff --git a/usr/src/man/man3c/iswalpha.3c b/usr/src/man/man3c/iswalpha.3c
index 916aad0ffc..bf50de8402 100644
--- a/usr/src/man/man3c/iswalpha.3c
+++ b/usr/src/man/man3c/iswalpha.3c
@@ -8,7 +8,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 ISWALPHA 3C "Jun 23, 2014"
+.TH ISWALPHA 3C "April 9, 2016"
.SH NAME
iswalpha, isenglish, isideogram, iswideogram, isnumber, iswnumber,
isphonogram, iswphonogram, isspecial, iswspecial, iswalnum, iswascii,
@@ -207,7 +207,7 @@ current locale, they operate on the locale specified by \fIloc\fR.
The functions, \fBiswideogram()\fR, \fBiswnumber()\fR, \fBiswphonogram()\fR,
\fBiswspecial()\fR, and \fBiswhexnumber()\fR, are respectively identical to
\fBisideogram()\fR, \fBisnumber()\fR, \fBisphonogram()\fR, \fBisspecial()\fR,
-\fBiswxdigit()\fR respectively. They are provided for compatability purposes.
+\fBiswxdigit()\fR respectively. They are provided for compatibility purposes.
.LP
In all cases, \fIwc\fR is a \fBwint_t\fR, the value of which must be a
wide-character code corresponding to a valid character in the current locale or
@@ -395,7 +395,6 @@ class "xdigit" in the program's current locale.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.TS
diff --git a/usr/src/man/man3c/port_alert.3c b/usr/src/man/man3c/port_alert.3c
index 886d43de79..642eb79cd9 100644
--- a/usr/src/man/man3c/port_alert.3c
+++ b/usr/src/man/man3c/port_alert.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 PORT_ALERT 3C "Oct 1, 2003"
+.TH PORT_ALERT 3C "April 9, 2016"
.SH NAME
port_alert \- set a port in alert mode
.SH SYNOPSIS
@@ -15,7 +15,6 @@ port_alert \- set a port in alert mode
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBport_alert()\fR function transitions a port into or out of alert mode.
A port in alert mode immediately awakens all threads blocked in
@@ -67,12 +66,10 @@ function with a zero \fIevents\fR parameter.
Events can be queued to a port that is in alert mode, but they will not be
retrievable until the port is transitioned out of alert mode.
.SH RETURN VALUES
-.sp
.LP
-Upon succesful completion, 0 is returned. Otherwise, -1 is returned and
+Upon successful completion, 0 is returned. Otherwise, -1 is returned and
\fBerrno\fR is set to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBport_alert()\fR function will fail if:
.sp
@@ -112,7 +109,6 @@ Mutually exclusive \fIflags\fR are set.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -132,7 +128,6 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBport_associate\fR(3C), \fBport_create\fR(3C), \fBport_get\fR(3C),
\fBport_send\fR(3C), \fBattributes\fR(5)
diff --git a/usr/src/man/man3c/port_associate.3c b/usr/src/man/man3c/port_associate.3c
index f1c085731c..1d8e34d1a8 100644
--- a/usr/src/man/man3c/port_associate.3c
+++ b/usr/src/man/man3c/port_associate.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 PORT_ASSOCIATE 3C "Aug 8, 2015"
+.TH PORT_ASSOCIATE 3C "April 9, 2016"
.SH NAME
port_associate, port_dissociate \- associate or dissociate the object with the
port
@@ -151,7 +151,7 @@ On NFS file systems, events from only the client side (local)
access/modifications to files or directories will be delivered.
.SH RETURN VALUES
.LP
-Upon succesful completion, 0 is returned. Otherwise, \(mi1 is returned and
+Upon successful completion, 0 is returned. Otherwise, \(mi1 is returned and
\fBerrno\fR is set to indicate the error.
.SH ERRORS
.LP
diff --git a/usr/src/man/man3c/port_create.3c b/usr/src/man/man3c/port_create.3c
index 654c8d6a4b..3421c6d0be 100644
--- a/usr/src/man/man3c/port_create.3c
+++ b/usr/src/man/man3c/port_create.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 PORT_CREATE 3C "Feb 5, 2008"
+.TH PORT_CREATE 3C "April 9, 2016"
.SH NAME
port_create \- create a port
.SH SYNOPSIS
@@ -15,7 +15,6 @@ port_create \- create a port
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBport_create()\fR function establishes a queue that multiplexes events
from disjoint sources. Each source has a corresponding object type and
@@ -103,13 +102,11 @@ processes when child processes inherit opened file decriptors from the parent
process. See \fBfork\fR(2). \fBPORT_SOURCE_TIMER\fR and \fBPORT_SOURCE_AIO\fR
cannot be shared between processes.
.SH RETURN VALUES
-.sp
.LP
-Upon succesful completion, the \fBport_create()\fR function returns a
+Upon successful completion, the \fBport_create()\fR function returns a
non-negative value, the port identifier. Otherwise, \(mi1 is returned and errno
is set to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBport_create()\fR function will fail if:
.sp
@@ -134,7 +131,6 @@ The process has too many open descriptors.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -154,7 +150,6 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBrctladm\fR(1M), \fBclose\fR(2), \fBexit\fR(2), \fBfork\fR(2), \fBpoll\fR(2),
\fBsetrctl\fR(2), \fBaio_read\fR(3C), \fBaio_write\fR(3C), \fBaio.h\fR(3HEAD),
diff --git a/usr/src/man/man3c/port_get.3c b/usr/src/man/man3c/port_get.3c
index 95b2f8c2b7..2683ebde5d 100644
--- a/usr/src/man/man3c/port_get.3c
+++ b/usr/src/man/man3c/port_get.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 PORT_GET 3C "Jan 31, 2007"
+.TH PORT_GET 3C "April 9, 2016"
.SH NAME
port_get, port_getn \- retrieve event information from a port
.SH SYNOPSIS
@@ -22,7 +22,6 @@ port_get, port_getn \- retrieve event information from a port
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBport_get()\fR and \fBport_getn()\fR functions retrieve events from a
port. The \fBport_get()\fR function retrieves at most a single event. The
@@ -66,7 +65,7 @@ in or enters alert mode. See \fBport_alert\fR(3C) for details on alert mode.
The \fBport_getn()\fR function can retrieve multiple events from a port. The
\fIlist\fR argument is an array of uninitialized \fBport_event_t\fR structures
that is filled in by the system when the \fBport_getn()\fR function returns
-succesfully. The \fInget\fR argument points to the desired number of events to
+successfully. The \fInget\fR argument points to the desired number of events to
be retrieved. The \fImax\fR parameter specifies the maximum number of events
that can be returned in \fIlist\fR[]. If \fImax\fR is 0, the value pointed to
by \fInget\fR is set to the number of events available on the port. The
@@ -91,12 +90,10 @@ waiting in the \fBport_getn()\fR function for more than \fIn\fR events.
The \fBport_get()\fR and the \fBport_getn()\fR functions ignore non-shareable
events (see \fBport_create\fR(3C)) generated by other processes.
.SH RETURN VALUES
-.sp
.LP
-Upon succesful completion, 0 is returned. Otherwise, -1 is returned and errno
+Upon successful completion, 0 is returned. Otherwise, -1 is returned and errno
is set to indicate the error.
.SH ERRORS
-.sp
.LP
The \fBport_get()\fR and \fBport_getn()\fR functions will fail if:
.sp
@@ -124,7 +121,7 @@ The \fIport\fR argument is not an event port file descriptor.
.ad
.RS 10n
Event or event list can not be delivered (\fIlist\fR[] pointer and/or user
-space reserved to accomodate the list of events is not reasonable), or the
+space reserved to accommodate the list of events is not reasonable), or the
\fItimeout\fR argument is not reasonable.
.RE
@@ -262,7 +259,6 @@ close(myport);
.in -2
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -282,7 +278,6 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBport_alert\fR(3C), \fBport_associate\fR(3C), \fBport_create\fR(3C),
\fBport_send\fR(3C), \fBattributes\fR(5)
diff --git a/usr/src/man/man3c/pthread_rwlock_timedrdlock.3c b/usr/src/man/man3c/pthread_rwlock_timedrdlock.3c
index 4c6270a46c..b1f9fe5dbb 100644
--- a/usr/src/man/man3c/pthread_rwlock_timedrdlock.3c
+++ b/usr/src/man/man3c/pthread_rwlock_timedrdlock.3c
@@ -8,7 +8,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 PTHREAD_RWLOCK_TIMEDRDLOCK 3C "Jan 30, 2004"
+.TH PTHREAD_RWLOCK_TIMEDRDLOCK 3C "April 9, 2016"
.SH NAME
pthread_rwlock_timedrdlock, pthread_rwlock_reltimedrdlock_np \- lock a
read-write lock for reading
@@ -30,7 +30,6 @@ cc \fB-mt\fR [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ]
.fi
.SH DESCRIPTION
-.sp
.LP
The \fBpthread_rwlock_timedrdlock()\fR function applies a read lock to the
read-write lock referenced by \fIrwlock\fR as in the
@@ -72,16 +71,14 @@ write lock on rwlock.
The results are undefined if this function is called with an uninitialized
read-write lock.
.SH RETURN VALUES
-.sp
.LP
The \fBpthread_rwlock_timedrdlock()\fR and
\fBpthread_rwlock_reltimedrdlock_np()\fR functions return 0 if the lock for
reading on the read-write lock object referenced by \fIrwlock\fR is acquired.
Otherwise, an error number is returned to indicate the error.
.SH ERRORS
-.sp
.LP
-The \fBpthread_rwlock_timedrdlock()\fR and and
+The \fBpthread_rwlock_timedrdlock()\fR and
\fBpthread_rwlock_reltimedrdlock_np()\fR functions will fail if:
.sp
.ne 2
@@ -127,7 +124,6 @@ or equal to 1 000 million.
.RE
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -149,7 +145,6 @@ MT-Level MT-Safe
The \fBpthread_rwlock_timedrdlock()\fR function is Standard. The
\fBpthread_rwlock_reltimedrdlock_np()\fR is Stable.
.SH SEE ALSO
-.sp
.LP
\fBpthread_rwlock_destroy\fR(3C), \fBpthread_rwlock_rdlock\fR(3C),
\fBpthread_rwlock_timedwrlock\fR(3C), \fBpthread_rwlock_trywrlock\fR(3C),
diff --git a/usr/src/man/man3c/signalfd.3c b/usr/src/man/man3c/signalfd.3c
index aa1bb90b1d..f08e85b273 100644
--- a/usr/src/man/man3c/signalfd.3c
+++ b/usr/src/man/man3c/signalfd.3c
@@ -165,7 +165,7 @@ the child only calls
.Xr close 2
on the descriptors.
.Sh RETURN VALUES
-Upon succesful completion, a file descriptor associated with the instance
+Upon successful completion, a file descriptor associated with the instance
is returned. Otherwise, -1 is returned and errno is set to indicate the error.
When
.Va fd
diff --git a/usr/src/man/man3c/timerfd_create.3c b/usr/src/man/man3c/timerfd_create.3c
index f597bfbdc3..68a7d17b17 100644
--- a/usr/src/man/man3c/timerfd_create.3c
+++ b/usr/src/man/man3c/timerfd_create.3c
@@ -11,7 +11,7 @@
.\"
.\" Copyright (c) 2015, Joyent, Inc. All Rights Reserved.
.\"
-.Dd Feb 23, 2105
+.Dd April 9, 2016
.Dt TIMERFD 3C
.Os
.Sh NAME
@@ -164,7 +164,7 @@ same functional signature and semantics as
.Ed
.El
.Sh RETURN VALUES
-Upon succesful completion, a file descriptor associated with the instance
+Upon successful completion, a file descriptor associated with the instance
is returned. Otherwise,
.Sy -1
is returned and errno is set to indicate the error.
diff --git a/usr/src/man/man3c/wcscasecmp.3c b/usr/src/man/man3c/wcscasecmp.3c
index 6a6aca9922..d8af330cf7 100644
--- a/usr/src/man/man3c/wcscasecmp.3c
+++ b/usr/src/man/man3c/wcscasecmp.3c
@@ -11,7 +11,7 @@
.\"
.\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
.\"
-.Dd "Nov 4, 2014"
+.Dd "April 9, 2016"
.Dt WCSCASECMP 3C
.Os
.Sh NAME
@@ -62,7 +62,7 @@ and
.Fa ws2
are compared consecutively, ignoring differences in case (if the
.\"POSIX\." locale upper case characters are treated as lower case). If
-the two values are different, the comparision stops and either
+the two values are different, the comparison stops and either
a negative value is returned if the character from
.Fa ws1
is less than that from
diff --git a/usr/src/man/man3c/wcscoll.3c b/usr/src/man/man3c/wcscoll.3c
index 59f8d18800..248e473150 100644
--- a/usr/src/man/man3c/wcscoll.3c
+++ b/usr/src/man/man3c/wcscoll.3c
@@ -8,7 +8,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 WCSCOLL 3C "Jun 25, 2014"
+.TH WCSCOLL 3C "April 9, 2016"
.SH NAME
wcscoll, wcscoll_l wscoll \- wide character string comparison using collating information
.SH SYNOPSIS
@@ -49,7 +49,7 @@ 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
than the wide character string pointed to by \fIws2\fR, when both are
-interpreted as appropriate to the the current locale, or the locale
+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
@@ -65,10 +65,9 @@ The \fIws1\fR or \fIws2\fR arguments contain wide character codes outside the
domain of the collating sequence.
.RE
.SH USAGE
-.sp
.LP
The \fBwcsxfrm\fR(3C) and \fBwcscmp\fR(3C) functions should be used for sorting
-large lists, or when performing many comparisions on the same strings.
+large lists, or when performing many comparisons on the same strings.
.SH ATTRIBUTES
.LP
See \fBattributes\fR(5) for descriptions of the following attributes: