diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-01 12:51:30 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2018-03-01 12:51:30 +0000 |
commit | 4684272897e351ed21f82a0ef84bc94194b4d538 (patch) | |
tree | 91a52b9dd3881e2ae001c5dd1a2a08fbc65da0bc /src/include | |
parent | ccb423ed6f317da5a02f4feeda082d791215a4ba (diff) | |
download | skalibs-4684272897e351ed21f82a0ef84bc94194b4d538.tar.gz skalibs-4684272897e351ed21f82a0ef84bc94194b4d538.tar.xz skalibs-4684272897e351ed21f82a0ef84bc94194b4d538.zip |
Add byte_zzero, openb_read
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/skalibs/bytestr.h | 1 | ||||
-rw-r--r-- | src/include/skalibs/djbunix.h | 1 |
2 files changed, 2 insertions, 0 deletions
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 *) ; |