diff options
author | cjc <cjc@FreeBSD.org> | 2001-11-29 00:56:45 +0000 |
---|---|---|
committer | cjc <cjc@FreeBSD.org> | 2001-11-29 00:56:45 +0000 |
commit | 15d306084a1841d222472de6e9a54c232504f0e3 (patch) | |
tree | 9e35a062a1b7673fcc60ab6be871c4438884502e | |
parent | 52a3d0493c977db2fa75e75e762b344abb9f5f93 (diff) | |
download | FreeBSD-src-15d306084a1841d222472de6e9a54c232504f0e3.zip FreeBSD-src-15d306084a1841d222472de6e9a54c232504f0e3.tar.gz |
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
-rw-r--r-- | lib/libc/net/inet.3 | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3 index 2461694..8816ae4 100644 --- a/lib/libc/net/inet.3 +++ b/lib/libc/net/inet.3 @@ -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 |