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
F113929134: D43537.id133125.diff
Sat, Apr 5, 6:25 PM
F113923023: D43537.id133447.diff
Sat, Apr 5, 4:17 PM
Unknown Object (File)
Mar 2 2025, 7:30 AM
Unknown Object (File)
Feb 22 2025, 2:20 PM
Unknown Object (File)
Feb 22 2025, 1:55 PM
Unknown Object (File)
Feb 22 2025, 1:50 PM
Unknown Object (File)
Feb 15 2025, 4:33 AM
Unknown Object (File)
Feb 10 2025, 5:58 PM

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