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:
Crist J. Clark 2001-11-29 00:56:45 +00:00
parent 5393fef692
commit e1a5ca24ca

View File

@ -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