Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/inet - Use .Vt for variable types outside the SYNOP...



details:   https://anonhg.NetBSD.org/src/rev/35e3d8b5522d
branches:  trunk
changeset: 780333:35e3d8b5522d
user:      ginsbach <ginsbach%NetBSD.org@localhost>
date:      Fri Jul 20 14:25:38 2012 +0000

description:
- Use .Vt for variable types outside the SYNOPSIS section rather than .Ft
- Use .Fn for function names outside the NAME section rather than .Nm

diffstat:

 lib/libc/inet/inet.3 |  34 +++++++++++++++++-----------------
 1 files changed, 17 insertions(+), 17 deletions(-)

diffs (74 lines):

diff -r 77dffcdaacc2 -r 35e3d8b5522d lib/libc/inet/inet.3
--- a/lib/libc/inet/inet.3      Fri Jul 20 14:21:20 2012 +0000
+++ b/lib/libc/inet/inet.3      Fri Jul 20 14:25:38 2012 +0000
@@ -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 @@
 .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 @@
 .Pp
 .Fn inet_addr
 should return a
-.Fa "struct in_addr" .
+.Vt struct in_addr .



Home | Main Index | Thread Index | Old Index