Module Name: src
Committed By: ginsbach
Date: Fri Jul 20 14:25:38 UTC 2012
Modified Files:
src/lib/libc/inet: inet.3
Log Message:
- Use .Vt for variable types outside the SYNOPSIS section rather than .Ft
- Use .Fn for function names outside the NAME section rather than .Nm
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/inet/inet.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/inet/inet.3
diff -u src/lib/libc/inet/inet.3:1.2 src/lib/libc/inet/inet.3:1.3
--- src/lib/libc/inet/inet.3:1.2 Thu Sep 22 18:21:58 2011
+++ src/lib/libc/inet/inet.3 Fri Jul 20 14:25:38 2012
@@ -1,4 +1,4 @@
-.\" $NetBSD: inet.3,v 1.2 2011/09/22 18:21:58 christos Exp $
+.\" $NetBSD: inet.3,v 1.3 2012/07/20 14:25:38 ginsbach Exp $
.\"
.\" Copyright (c) 1983, 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -304,43 +304,43 @@ for malformed requests.
.Re
.Sh STANDARDS
The
-.Nm inet_ntop
+.Fn inet_ntop
and
-.Nm inet_pton
+.Fn inet_pton
functions conform to
.St -p1003.1-2001 .
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
The
-.Nm inet_addr ,
-.Nm inet_network ,
-.Nm inet_makeaddr ,
-.Nm inet_lnaof
+.Fn inet_addr ,
+.Fn inet_network ,
+.Fn inet_makeaddr ,
+.Fn inet_lnaof
and
-.Nm inet_netof
+.Fn inet_netof
functions appeared in
.Bx 4.2 .
They were changed to use
-.Va in_addr_t
+.Vt in_addr_t
in place of
-.Va unsigned long
+.Vt unsigned long
in
.Nx 2.0 .
The
-.Nm inet_aton
+.Fn inet_aton
and
-.Nm inet_ntoa
+.Fn inet_ntoa
functions appeared in
.Bx 4.3 .
The
-.Nm inet_pton
+.Fn inet_pton
and
-.Nm inet_ntop
+.Fn inet_ntop
functions appeared in BIND 4.9.4 and thence
.Nx 1.3 ;
they were also in
@@ -364,4 +364,4 @@ resides in a static memory area.
.Pp
.Fn inet_addr
should return a
-.Fa "struct in_addr" .
+.Vt struct in_addr .