From 4684272897e351ed21f82a0ef84bc94194b4d538 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 1 Mar 2018 12:51:30 +0000 Subject: Add byte_zzero, openb_read --- src/include/skalibs/bytestr.h | 1 + src/include/skalibs/djbunix.h | 1 + 2 files changed, 2 insertions(+) (limited to 'src/include') diff --git a/src/include/skalibs/bytestr.h b/src/include/skalibs/bytestr.h index 3a5c95e..b20a34d 100644 --- a/src/include/skalibs/bytestr.h +++ b/src/include/skalibs/bytestr.h @@ -31,6 +31,7 @@ extern size_t byte_in (char const *, size_t, char const *, size_t) gccattr_pure #define byte_equal(s, n, t) (!memcmp(s, (t), n)) extern size_t byte_count (char const *, size_t, char) gccattr_pure ; extern size_t byte_search (char const *, size_t, char const *, size_t) ; +extern void byte_zzero (char *, size_t) ; #define str_diffb(a, n, b) strncmp(a, (b), n) extern size_t str_chr (char const *, int) gccattr_pure ; diff --git a/src/include/skalibs/djbunix.h b/src/include/skalibs/djbunix.h index 6e2adcc..d3edc97 100644 --- a/src/include/skalibs/djbunix.h +++ b/src/include/skalibs/djbunix.h @@ -44,6 +44,7 @@ extern void lock_unx (int) ; extern int open2 (char const *, unsigned int) ; extern int open3 (char const *, unsigned int, unsigned int) ; extern int open_read (char const *) ; +extern int openb_read (char const *) ; extern int open_readb (char const *) ; extern int open_excl (char const *) ; extern int open_append (char const *) ; -- cgit v1.2.3