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, Oct 10, 3:19 AM
Unknown Object (File)
Wed, Sep 24, 4:58 AM
Unknown Object (File)
Fri, Sep 12, 8:52 PM
Unknown Object (File)
Fri, Sep 12, 6:49 AM
Unknown Object (File)
Thu, Sep 11, 9:37 PM
Unknown Object (File)
Thu, Sep 11, 8:28 PM
Unknown Object (File)
Sep 11 2025, 9:30 AM
Unknown Object (File)
Aug 17 2025, 7:23 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