Page MenuHomeFreeBSD

inet(3): clarify syntax accepted by inet_pton
ClosedPublic

Authored by karels on Jan 21 2024, 7:45 PM.
Tags
None
Referenced Files
F151388092: D43537.diff
Wed, Apr 8, 2:11 AM
Unknown Object (File)
Mon, Apr 6, 11:09 AM
Unknown Object (File)
Mon, Mar 23, 6:45 PM
Unknown Object (File)
Mon, Mar 23, 9:39 AM
Unknown Object (File)
Sun, Mar 22, 3:58 PM
Unknown Object (File)
Fri, Mar 20, 7:21 AM
Unknown Object (File)
Thu, Mar 19, 2:36 AM
Unknown Object (File)
Tue, Mar 17, 7:28 AM

Details

Summary

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.)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable