summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/inet.310
1 files changed, 1 insertions, 9 deletions
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3
index 8816ae4..3b51129 100644
--- a/lib/libc/net/inet.3
+++ b/lib/libc/net/inet.3
@@ -203,14 +203,6 @@ 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
@@ -253,7 +245,7 @@ functions conform to
Note that
.Fn inet_pton
does not accept 1-, 2-, or 3-part dotted addresses; all four parts
-must be specified.
+must be specified and are interpreted only as decimal values.
This is a narrower input set than that accepted by
.Fn inet_aton .
.Sh HISTORY
OpenPOWER on IntegriCloud