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 hexmem() and strextend() calls
[elogind.git]
/
src
/
shared
/
util.h
diff --git
a/src/shared/util.h
b/src/shared/util.h
index 7c032b6b62962b199b3a012a13439351b0308254..25c00843ec51c31b8f82a1bfa2792ac216f537eb 100644
(file)
--- a/
src/shared/util.h
+++ b/
src/shared/util.h
@@
-605,3
+605,6
@@
static inline void *mempset(void *s, int c, size_t n) {
memset(s, c, n);
return (char*)s + n;
}
memset(s, c, n);
return (char*)s + n;
}
+
+char *hexmem(const void *p, size_t l);
+char *strextend(char **x, ...);