]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
inet(3): clarify syntax accepted by inet_pton
authorMike Karels <karels@FreeBSD.org>
Sat, 27 Jan 2024 15:40:07 +0000 (09:40 -0600)
committerMike Karels <karels@FreeBSD.org>
Sat, 27 Jan 2024 15:40:07 +0000 (09:40 -0600)
commit9231c42127bf8e47588169ecc395f57cae0e15fb
tree194ad9996d79121c3e4d52f0b62c72b29e47de43
parent72dd306e44bc531fa723f4cdb631cb63cc5f09cb
inet(3): clarify syntax accepted by inet_pton

The section INTERNET ADDRESSES describes the acceptance of dotted
values with varying number of parts in multiple bases.  This applies
to inet_aton and inet_addr, but not to inet_pton.  Clarify this
section by listing the functions to which this applies.  Move the
description of what inet_pton accepts into this section from STANDARDS,
where it is easily missed.  Rename the section to clarify that it
applies only to IPv4.  (inet_pton also works with IPv6.)

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D43537
lib/libc/net/inet.3