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)
Mon, Jan 27, 4:48 PM
Unknown Object (File)
Mon, Jan 27, 4:48 PM
Unknown Object (File)
Sat, Jan 18, 10:32 PM
Unknown Object (File)
Sat, Jan 18, 10:26 AM
Unknown Object (File)
Dec 3 2024, 11:35 PM
Unknown Object (File)
Dec 2 2024, 4:19 PM
Unknown Object (File)
Dec 1 2024, 6:43 PM
Unknown Object (File)
Nov 22 2024, 10:30 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