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
Unknown Object (File)
Fri, Nov 21, 2:21 PM
Unknown Object (File)
Wed, Nov 19, 3:10 PM
Unknown Object (File)
Wed, Nov 19, 2:30 AM
Unknown Object (File)
Nov 6 2025, 3:37 AM
Unknown Object (File)
Nov 5 2025, 4:27 AM
Unknown Object (File)
Nov 4 2025, 7:06 PM
Unknown Object (File)
Nov 2 2025, 11:02 PM
Unknown Object (File)
Nov 2 2025, 11:02 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