HomeFreeBSD

inet(3): clarify syntax accepted by inet_pton

Description

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

(cherry picked from commit 9231c42127bf8e47588169ecc395f57cae0e15fb)

Details

Provenance
karelsAuthored on Jan 27 2024, 3:40 PM
Reviewer
imp
Differential Revision
D43537: inet(3): clarify syntax accepted by inet_pton
Parents
rG0c6e3bfd1362: arm64/RPI: enable powerd by default on arm64-aarch64-RPI images
Branches
Unknown
Tags
Unknown