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, May 17, 1:35 PM
Unknown Object (File)
Tue, May 14, 12:48 AM
Unknown Object (File)
Mon, May 13, 1:46 PM
Unknown Object (File)
Fri, May 3, 10:26 AM
Unknown Object (File)
Sat, Apr 27, 2:13 PM
Unknown Object (File)
Apr 8 2024, 1:37 PM
Unknown Object (File)
Feb 11 2024, 1:29 AM
Unknown Object (File)
Feb 10 2024, 8:20 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 Not Applicable
Unit
Tests Not Applicable