From 6a8649c9b8cd619ca8a0e1bd495ed372868c1d89 Mon Sep 17 00:00:00 2001 From: Sascha Wildner Date: Thu, 7 Feb 2013 18:38:23 +0100 Subject: [PATCH] kether_ntoa.9: Mention %D. Also, perform some minor cleanup. --- share/man/man9/hexdump.9 | 3 ++- share/man/man9/kether_ntoa.9 | 22 +++++++++++++++------- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/share/man/man9/hexdump.9 b/share/man/man9/hexdump.9 index ebafad00d3..e5c29ab1b7 100644 --- a/share/man/man9/hexdump.9 +++ b/share/man/man9/hexdump.9 @@ -88,7 +88,8 @@ Do not print the character values on each line. .El .El .Sh SEE ALSO -.Xr ascii 7 +.Xr ascii 7 , +.Xr hexncpy 9 .Sh AUTHORS This manual page was written by .An Scott Long . diff --git a/share/man/man9/kether_ntoa.9 b/share/man/man9/kether_ntoa.9 index dc93541287..514ab577b3 100644 --- a/share/man/man9/kether_ntoa.9 +++ b/share/man/man9/kether_ntoa.9 @@ -1,4 +1,3 @@ -.\" -*- nroff -*- .\" .\" Copyright (c) 2013 The DragonFly Project. All rights reserved. .\" @@ -29,7 +28,6 @@ .\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" .Dd February 7, 2012 .Dt KETHER_NTOA 9 .Os @@ -47,8 +45,7 @@ The .Fn kether_ntoa function converts the ethernet address specified in .Fa addr -to the corresponding hexadecimal ASCII -representation of it. +to its corresponding hexadecimal ASCII representation. Likewise, the .Fn kether_aton function converts an ASCII @@ -56,6 +53,17 @@ string specified in .Fa macstr to an ethernet address. .Pp +.Fn kether_ntoa +serves a similar purpose as the former, non-standard +.Cm D +conversion of +.Xr kprintf 9 +(as in, +.Dq %6D ) +which some +.Bx Ns s +still have. +.Pp Notational conventions for hexadecimal ASCII representation of a MAC address are specified in IEEE 802. @@ -76,12 +84,12 @@ string in or NULL in the case of failure. .Sh SEE ALSO .Xr ascii 7 , -.Xr hexncpy 9 , -.Xr hexdump 9 +.Xr hexdump 9 , +.Xr hexncpy 9 .Sh HISTORY The .Fn kether_ntoa and .Fn kether_aton functions first appeared in -.Dx 3.3 +.Dx 3.3 . -- 2.11.4.GIT