Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2017 19:10:07 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315687 - head/lib/libutil
Message-ID:  <201703211910.v2LJA7N0069107@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue Mar 21 19:10:07 2017
New Revision: 315687
URL: https://svnweb.freebsd.org/changeset/base/315687

Log:
  Document sbuf_hexdump(9) in just sbuf(9)
  
  - Remove duplicate references to sbuf_hexdump(9) from hexdump(3).
    sbuf_hexdump(9) already pointed back to hexdump(3) for implementation
    details.
  - Refer to sbuf_hexdump(9) instead of sbuf(9) for completeness
  
  MFC after:	1 week
  Reviewed by:	vangyzen (earlier diff)
  Sponsored by:	Dell EMC Isilon
  Differential Revision:	D9912

Modified:
  head/lib/libutil/hexdump.3

Modified: head/lib/libutil/hexdump.3
==============================================================================
--- head/lib/libutil/hexdump.3	Tue Mar 21 19:02:17 2017	(r315686)
+++ head/lib/libutil/hexdump.3	Tue Mar 21 19:10:07 2017	(r315687)
@@ -28,7 +28,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd February 8, 2017
+.Dd March 21, 2017
 .Dt HEXDUMP 3
 .Os
 .Sh NAME
@@ -38,16 +38,6 @@
 .In libutil.h
 .Ft void
 .Fn hexdump "void *ptr" "int length" "const char *hdr" "int flags"
-.In sys/types.h
-.In sys/sbuf.h
-.Ft void
-.Fo sbuf_hexdump
-.Fa "struct sbuf *sb"
-.Fa "void *ptr"
-.Fa "int length"
-.Fa "const char *hdr"
-.Fa "int flags"
-.Fc
 .Sh DESCRIPTION
 The
 .Fn hexdump
@@ -60,11 +50,6 @@ output will start with an offset count, 
 followed by 16
 .Tn ASCII
 characters.
-.Pp
-The
-.Fn sbuf_hexdump
-function prints the hexdump to the supplied
-.Xr sbuf 9 .
 .Bl -tag -width indent
 .It Fa ptr
 Pointer to the array of bytes to print.
@@ -104,7 +89,7 @@ Do not print the character values on eac
 .El
 .Sh SEE ALSO
 .Xr ascii 7 ,
-.Xr sbuf 9
+.Xr sbuf_hexdump 9
 .Sh AUTHORS
 This manual page was written by
 .An Scott Long .



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703211910.v2LJA7N0069107>