summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2000-11-20 14:11:46 +0000
committerru <ru@FreeBSD.org>2000-11-20 14:11:46 +0000
commitf7a10404bccd5370cf494e1453a276bbf09b1143 (patch)
treee5249448ab52cfea6561a527dbe5fa3c83eddaaa /lib/libc/net
parent55a23507010ea3eabe58edf611fdf921fabc3374 (diff)
downloadFreeBSD-src-f7a10404bccd5370cf494e1453a276bbf09b1143.zip
FreeBSD-src-f7a10404bccd5370cf494e1453a276bbf09b1143.tar.gz
mdoc(7) police: Nm -> Fn where appropriate.
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/getaddrinfo.32
-rw-r--r--lib/libc/net/inet.38
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/net/getaddrinfo.3 b/lib/libc/net/getaddrinfo.3
index deb575f..3af62f9 100644
--- a/lib/libc/net/getaddrinfo.3
+++ b/lib/libc/net/getaddrinfo.3
@@ -411,7 +411,7 @@ Similarly, if it resolves to IPv6,
socket is used.
Observe that there is no hardcoded reference to particular address family.
The code works even if
-.Nm getaddrinfo
+.Fn getaddrinfo
returns addresses that are not IPv4/v6.
.Bd -literal -offset indent
struct addrinfo hints, *res, *res0;
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3
index 2c7069d..b04d383 100644
--- a/lib/libc/net/inet.3
+++ b/lib/libc/net/inet.3
@@ -235,17 +235,17 @@ for malformed requests.
.Re
.Sh STANDARDS
The
-.Nm inet_ntop
+.Fn inet_ntop
and
-.Nm inet_pton
+.Fn inet_pton
functions conform to
.St -xns5.2d2.0 .
Note that
-.Nm inet_pton
+.Fn inet_pton
does not accept 1-, 2-, or 3-part dotted addresses; all four parts
must be specified.
This is a narrower input set than that accepted by
-.Nm inet_aton .
+.Fn inet_aton .
.Sh HISTORY
These
functions appeared in
OpenPOWER on IntegriCloud