summaryrefslogtreecommitdiff
path: root/usr/src/man/man3socket
diff options
context:
space:
mode:
authorPeter Tribble <peter.tribble@gmail.com>2017-03-01 15:08:10 +0000
committerRichard Lowe <richlowe@richlowe.net>2017-03-01 11:15:28 -0500
commitff31d5bfa079d4db9f78f481637d7ed9f9fa4a49 (patch)
tree0421ec1d2904e900e92b1f70b32ed097650680ac /usr/src/man/man3socket
parentc772408baa457f54709f03eaf11de0b0b30ce317 (diff)
downloadillumos-gate-ff31d5bfa079d4db9f78f481637d7ed9f9fa4a49.tar.gz
4339 NIS+ should be removed from man pages too
Reviewed by: Yuri Pankov <yuri.pankov@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net>
Diffstat (limited to 'usr/src/man/man3socket')
-rw-r--r--usr/src/man/man3socket/ethers.3socket6
-rw-r--r--usr/src/man/man3socket/getaddrinfo.3socket6
-rw-r--r--usr/src/man/man3socket/getprotobyname.3socket16
3 files changed, 10 insertions, 18 deletions
diff --git a/usr/src/man/man3socket/ethers.3socket b/usr/src/man/man3socket/ethers.3socket
index 77a5e330a6..a1bb59d838 100644
--- a/usr/src/man/man3socket/ethers.3socket
+++ b/usr/src/man/man3socket/ethers.3socket
@@ -5,7 +5,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 ETHERS 3SOCKET "Aug 9, 2014"
+.TH ETHERS 3SOCKET "Feb 25, 2017"
.SH NAME
ethers, ether_ntoa, ether_ntoa_r, ether_aton, ether_aton_r, ether_ntohost, ether_hostton, ether_line \-
Ethernet address mapping operations
@@ -85,8 +85,8 @@ returns zero upon success and non-zero upon failure. Inversely, the function
number; the function modifies the Ethernet number pointed to by \fIe\fR. The
function also returns zero upon success and non-zero upon failure. In order to
do the mapping, both these functions may lookup one or more of the following
-sources: the ethers file, the \fBNIS\fR maps \fBethers.byname\fR and
-\fBethers.byaddr\fR and the \fBNIS+\fR table \fBethers\fR. The sources and
+sources: the ethers file and the \fBNIS\fR maps \fBethers.byname\fR and
+\fBethers.byaddr\fR. The sources and
their lookup order are specified in the \fB/etc/nsswitch.conf\fR file. See
\fBnsswitch.conf\fR(4) for details.
.sp
diff --git a/usr/src/man/man3socket/getaddrinfo.3socket b/usr/src/man/man3socket/getaddrinfo.3socket
index 490717053a..8d43f9641b 100644
--- a/usr/src/man/man3socket/getaddrinfo.3socket
+++ b/usr/src/man/man3socket/getaddrinfo.3socket
@@ -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 GETADDRINFO 3SOCKET "Oct 3, 2015"
+.TH GETADDRINFO 3SOCKET "Feb 25, 2017"
.SH NAME
getaddrinfo, getnameinfo, freeaddrinfo, gai_strerror \- translate between node
name and address
@@ -162,8 +162,8 @@ called.
.LP
If the \fBAI_NUMERICSERV\fR flag is specified, then a non-null servname string
supplied will be a numeric port string. Otherwise, an [\fBEAI_NONAME\fR] error
-is returned. This flag prevents any type of name resolution service (for
-example, NIS+) from being invoked.
+is returned. This flag prevents any type of name resolution service
+from being invoked.
.sp
.LP
If the \fBAI_V4MAPPED\fR flag is specified along with an \fBai_family\fR of
diff --git a/usr/src/man/man3socket/getprotobyname.3socket b/usr/src/man/man3socket/getprotobyname.3socket
index 0cf1786aad..3a4d146c44 100644
--- a/usr/src/man/man3socket/getprotobyname.3socket
+++ b/usr/src/man/man3socket/getprotobyname.3socket
@@ -1,6 +1,6 @@
'\" te
.\" Copyright (c) 1983 Regents of the University of California. All rights reserved. The Berkeley software License Agreement specifies the terms and conditions for redistribution. Copyright 1989 AT&T Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved.
-.TH GETPROTOBYNAME 3SOCKET "Apr 5, 2004"
+.TH GETPROTOBYNAME 3SOCKET "Feb 25, 2017"
.SH NAME
getprotobyname, getprotobyname_r, getprotobynumber, getprotobynumber_r,
getprotoent, getprotoent_r, setprotoent, endprotoent \- get protocol entry
@@ -53,7 +53,6 @@ getprotoent, getprotoent_r, setprotoent, endprotoent \- get protocol entry
.fi
.SH DESCRIPTION
-.sp
.LP
These functions return a protocol entry. Two types of interfaces are supported:
reentrant (\fBgetprotobyname_r()\fR, \fBgetprotobynumber_r()\fR, and
@@ -77,10 +76,10 @@ each return a protocol entry.
.LP
The entry may come from one of the following sources: the protocols file (see
\fBprotocols\fR(4)), the \fBNIS\fR maps ``protocols.byname'' and
-``protocols.bynumber'', and the \fBNIS+\fR table ``protocols''. The sources and
+``protocols.bynumber''. The sources and
their lookup order are specified in the \fB/etc/nsswitch.conf\fR file (see
\fBnsswitch.conf\fR(4) for details). Some name services such as NIS will return
-only one name for a host, whereas others such as NIS+ or DNS will return all
+only one name for a host, whereas others such as DNS will return all
aliases.
.sp
.LP
@@ -138,7 +137,6 @@ int p_proto;
.in -2
.SH RETURN VALUES
-.sp
.LP
The \fBgetprotobyname_r()\fR, \fBgetprotobyname()\fR,
\fBgetprotobynumber_r()\fR, and \fBgetprotobynumber()\fR functions return a
@@ -150,7 +148,6 @@ The \fBgetprotoent_r()\fR and \fBgetprotoent()\fR functions return a pointer to
a \fBstruct protoent\fR if they successfully enumerate an entry; otherwise they
return \fINULL\fR, indicating the end of the enumeration.
.SH ERRORS
-.sp
.LP
The \fBgetprotobyname_r()\fR, \fBgetprotobynumber_r()\fR, and
\fBgetprotoent_r()\fR functions will fail if:
@@ -165,14 +162,12 @@ the result.
.RE
.SH FILES
-.sp
.LP
\fB/etc/protocols\fR
.sp
.LP
\fB/etc/nsswitch.conf\fR
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -188,12 +183,10 @@ MT-Level See \fBNOTES\fR below.
.TE
.SH SEE ALSO
-.sp
.LP
\fBIntro\fR(3), \fBnsswitch.conf\fR(4), \fBprotocols\fR(4),
\fBattributes\fR(5), \fBnetdb.h\fR(3HEAD)
.SH NOTES
-.sp
.LP
Although \fBgetprotobyname_r()\fR, \fBgetprotobynumber_r()\fR, and
\fBgetprotoent_r()\fR are not mentioned by POSIX 1003.1:2001, they were added
@@ -223,10 +216,9 @@ scope, and are therefore not safe in multi-threaded applications.
.LP
Use of \fBgetprotoent_r()\fR and \fBgetprotoent()\fR is discouraged;
enumeration is well-defined for the protocols file and is supported (albeit
-inefficiently) for \fBNIS\fR and \fBNIS+,\fR but in general may not be
+inefficiently) for \fBNIS\fR but in general may not be
well-defined. The semantics of enumeration are discussed in
\fBnsswitch.conf\fR(4).
.SH BUGS
-.sp
.LP
Only the Internet protocols are currently understood.