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
This commit is contained in:
ngie 2017-02-08 09:19:49 +00:00
parent df6f1b152c
commit f09da38633

View File

@ -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"