svn commit: r313436 - head/lib/libutil
Ngie Cooper
ngie at FreeBSD.org
Wed Feb 8 09:19:50 UTC 2017
Author: ngie
Date: Wed Feb 8 09:19:49 2017
New Revision: 313436
URL: https://svnweb.freebsd.org/changeset/base/313436
Log:
Clarify #includes for hexdump(3) vs sbuf_hexdump(9)
hexdump(3) only requires libutil.h, whereas sbuf_hexdump(9) requires
sys/types.h (for ssize_t) and sys/sbuf.h
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
Modified:
head/lib/libutil/hexdump.3
Modified: head/lib/libutil/hexdump.3
==============================================================================
--- head/lib/libutil/hexdump.3 Wed Feb 8 09:03:31 2017 (r313435)
+++ head/lib/libutil/hexdump.3 Wed Feb 8 09:19:49 2017 (r313436)
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 8, 2014
+.Dd February 8, 2017
.Dt HEXDUMP 3
.Os
.Sh NAME
@@ -36,9 +36,10 @@
.Nd "dump a block of bytes to standard out in hexadecimal form"
.Sh SYNOPSIS
.In libutil.h
-.In sys/sbuf.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"
More information about the svn-src-all
mailing list