After the long explanaition of how the inet_* functions interpret
Internet addresses, point out that inet_pton(3) only understands dotted quads with decimal values. MFC after: 2 days
This commit is contained in:
parent
5393fef692
commit
e1a5ca24ca
@ -203,6 +203,14 @@ hexadecimal; otherwise, a leading 0 implies octal;
|
||||
otherwise, the number is interpreted as decimal).
|
||||
.Pp
|
||||
The
|
||||
.Fn inet_pton
|
||||
function only understands Internet addresses written as dotted quads.
|
||||
Each
|
||||
.Dq part
|
||||
may only contain numeric characters and is always interpreted as a
|
||||
decimal value.
|
||||
.Pp
|
||||
The
|
||||
.Fn inet_aton
|
||||
and
|
||||
.Fn inet_ntoa
|
||||
|
Loading…
Reference in New Issue
Block a user