mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
20724b17b4
commit
696fcb05fb
1 changed files with 3 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue