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
F81875524: D43537.diff
Mon, Nov 25, 1:27 AM
Unknown Object (File)
Fri, Nov 15, 2:26 PM
Unknown Object (File)
Thu, Nov 14, 6:30 AM
Unknown Object (File)
Sun, Nov 10, 11:17 PM
Unknown Object (File)
Sun, Nov 10, 10:14 PM
Unknown Object (File)
Fri, Nov 8, 12:20 PM
Unknown Object (File)
Fri, Nov 8, 6:57 AM
Unknown Object (File)
Fri, Nov 8, 12:13 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 Passed
Unit
No Test Coverage
Build Status
Buildable 55526
Build 52415: arc lint + arc unit