Module Name: src
Committed By: martin
Date: Sun Mar 10 18:48:57 UTC 2024
Modified Files:
src/lib/libc/net [netbsd-8]: getnameinfo.3
Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1941):
lib/libc/net/getnameinfo.3: revision 1.43
Document the NI_NUMERICSCOPE flag.
PR lib/57832
To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.41.18.1 src/lib/libc/net/getnameinfo.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/net/getnameinfo.3
diff -u src/lib/libc/net/getnameinfo.3:1.41 src/lib/libc/net/getnameinfo.3:1.41.18.1
--- src/lib/libc/net/getnameinfo.3:1.41 Sun Aug 18 10:40:06 2013
+++ src/lib/libc/net/getnameinfo.3 Sun Mar 10 18:48:57 2024
@@ -1,4 +1,4 @@
-.\" $NetBSD: getnameinfo.3,v 1.41 2013/08/18 10:40:06 wiz Exp $
+.\" $NetBSD: getnameinfo.3,v 1.41.18.1 2024/03/10 18:48:57 martin Exp $
.\" $KAME: getnameinfo.3,v 1.37 2005/01/05 03:23:05 itojun Exp $
.\" $OpenBSD: getnameinfo.3,v 1.36 2004/12/21 09:48:20 jmc Exp $
.\"
@@ -17,7 +17,7 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd August 18, 2013
+.Dd February 15, 2024
.Dt GETNAMEINFO 3
.Os
.Sh NAME
@@ -106,6 +106,10 @@ If the host name cannot be found in DNS
a non-zero error code is returned.
If the host name is not found and the flag is not set, the
address is returned in numeric form.
+.It NI_NUMERICSCOPE
+For IPv6 addresses the numeric form of the IPv6 scope identifier is
+returned.
+This flag is ignored for non-IPv6 addresses.
.It NI_NUMERICSERV
The service name is returned as a digit string representing the port number.
.It NI_DGRAM