diff options
author | Peter Tribble <peter.tribble@gmail.com> | 2021-06-14 19:29:52 +0100 |
---|---|---|
committer | Peter Tribble <peter.tribble@gmail.com> | 2021-06-15 08:29:27 +0100 |
commit | 9514bcf4c37a9b87200462594803414d12cdd29d (patch) | |
tree | 881afd8f453af988c97efc54bc3bbdacc2920ae9 /usr/src/man/man3socket | |
parent | ee9169cacd8ffeec83d4db687efa35da6f93d039 (diff) | |
download | illumos-gate-9514bcf4c37a9b87200462594803414d12cdd29d.tar.gz |
13871 Missing spaces in several manual pages
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Matt Fiddaman <illumos@m.fiddaman.uk>
Reviewed by: Toomas Soome <tsoome@me.com>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
Diffstat (limited to 'usr/src/man/man3socket')
-rw-r--r-- | usr/src/man/man3socket/getsourcefilter.3socket | 10 | ||||
-rw-r--r-- | usr/src/man/man3socket/inet6_opt.3socket | 13 |
2 files changed, 4 insertions, 19 deletions
diff --git a/usr/src/man/man3socket/getsourcefilter.3socket b/usr/src/man/man3socket/getsourcefilter.3socket index a5239ef898..7087498ac0 100644 --- a/usr/src/man/man3socket/getsourcefilter.3socket +++ b/usr/src/man/man3socket/getsourcefilter.3socket @@ -3,12 +3,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 GETSOURCEFILTER 3SOCKET "Aug 20, 2007" +.TH GETSOURCEFILTER 3SOCKET "June 13, 2021" .SH NAME getsourcefilter, setsourcefilter, getipv4sourcefilter, setipv4sourcefilter \- retrieve and set a socket's multicast filter .SH SYNOPSIS -.LP .nf \fBcc\fR [ \fIflag\fR... ] \fIfile\fR... \fB-lsocket\fR [ \fIlibrary\fR... ] #include <netinet/in.h> @@ -40,7 +39,6 @@ retrieve and set a socket's multicast filter .fi .SH DESCRIPTION -.LP These functions allow applications to retrieve and modify the multicast filtering state for a tuple consisting of socket, interface, and multicast group values. @@ -108,11 +106,9 @@ number of addresses in the \fIslist\fR array. The \fIslist\fR argument points to the array of source addresses to be included or excluded, depending on the \fIfmode\fR value. .SH RETURN VALUES -.LP If successful, all four functions return \fB0\fR. Otherwise, they return \fB\(mi1\fR and set \fBerrno\fR to indicate the error. .SH ERRORS -.LP These functions will fail if: .sp .ne 2 @@ -187,7 +183,7 @@ exist; \fIgroup\fR is not being listened to on \fIinterface\fR by \fIsocket\fR. .sp .LP -The functions \fBsetsourcefilter()\fRand \fBsetipv4sourcefilter()\fR can fail +The functions \fBsetsourcefilter()\fR and \fBsetipv4sourcefilter()\fR can fail in the following additional case: .sp .ne 2 @@ -199,7 +195,6 @@ The source filter list is larger than that allowed by the implementation. .RE .SH ATTRIBUTES -.LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -216,7 +211,6 @@ MT-Level Safe .TE .SH SEE ALSO -.LP \fBif_nametoindex\fR(3SOCKET), \fBsocket\fR(3SOCKET), \fBsockaddr\fR(3SOCKET), \fBattributes\fR(5) .sp diff --git a/usr/src/man/man3socket/inet6_opt.3socket b/usr/src/man/man3socket/inet6_opt.3socket index b081684f7a..75aa96b066 100644 --- a/usr/src/man/man3socket/inet6_opt.3socket +++ b/usr/src/man/man3socket/inet6_opt.3socket @@ -4,13 +4,12 @@ .\" 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 INET6_OPT 3SOCKET "Feb 15, 2007" +.TH INET6_OPT 3SOCKET "June 13, 2021" .SH NAME inet6_opt, inet6_opt_init, inet6_opt_append, inet6_opt_finish, inet6_opt_set_val, inet6_opt_next, inet6_opt_find, inet6_opt_get_val \- Option manipulation mechanism .SH SYNOPSIS -.LP .nf \fBcc\fR [ \fIflag\fR ... ] \fIfile\fR ... \fB-lsocket\fR [\fIlibrary...\fR] #include <netinet/in.h> @@ -52,13 +51,11 @@ manipulation mechanism .LP .nf -\fBint\fR\fBinet6_opt_get_val\fR(\fBvoid *\fR\fIdatabuf\fR, \fBint\fR \fIoffset\fR, +\fBint\fR \fBinet6_opt_get_val\fR(\fBvoid *\fR\fIdatabuf\fR, \fBint\fR \fIoffset\fR, \fBvoid *\fR\fIval\fR, \fBsocklen_t *\fR\fIvallen\fR); .fi .SH DESCRIPTION -.sp -.LP The \fBinet6_opt\fR functions enable users to manipulate options without having to know the structure of the option header. .sp @@ -128,8 +125,6 @@ in the option's data portion the value should be extracted. The first byte following the option type and length is accessed by specifying an \fIoffset\fR of zero. .SH RETURN VALUES -.sp -.LP The \fBinet6_opt_init()\fR function returns the number of bytes needed for the empty extension header. If the \fIextlen\fR value is not a positive non-zero multiple of 8, the function fails and returns \fB-1\fR\&. @@ -161,8 +156,6 @@ The \fBinet6_opt_get_val()\fR function returns the \fIoffset\fR for the next field (that is, \fIoffset\fR + \fIvallen\fR) which can be used when extracting option content with multiple fields. .SH ATTRIBUTES -.sp -.LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp @@ -179,7 +172,5 @@ MT-Level Safe .TE .SH SEE ALSO -.sp -.LP RFC 3542 - \fIAdvanced Sockets Application Programming Interface (API) for IPv6\fR, The Internet Society. May 2003 |