chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util: add hexdump() call to create pretty hexdumps of data
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index e99f8d1123641da0ae4f0e8f4a85d55aad463ffd..c596d795d3666d14e92741fb6c5bc32d484c1ffa 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-914,3
+914,5
@@
const char *personality_to_string(unsigned long);
uint64_t physical_memory(void);
char* mount_test_option(const char *haystack, const char *needle);
+
+void hexdump(FILE *f, const void *p, size_t s);