diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2014-01-22 21:06:46 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2014-01-22 21:06:46 +0000 |
commit | 988279d3aad0abd7bd8ba67e4a814a13f55f18ab (patch) | |
tree | 66fbdff68c830a891cd0637cc2056bf0143bfd41 /include/string.h | |
parent | 3351a6d53212c73f2ac46179b1feb1a8996dce7a (diff) |
add explicit_bzero to libc. implementation subject to change, but start
the ball rolling. ok deraadt.
Diffstat (limited to 'include/string.h')
-rw-r--r-- | include/string.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h index 033ee1481a5..b0b851edafb 100644 --- a/include/string.h +++ b/include/string.h @@ -1,4 +1,4 @@ -/* $OpenBSD: string.h,v 1.26 2013/05/13 10:37:02 ajacoutot Exp $ */ +/* $OpenBSD: string.h,v 1.27 2014/01/22 21:06:45 tedu Exp $ */ /* $NetBSD: string.h,v 1.6 1994/10/26 00:56:30 cgd Exp $ */ /*- @@ -126,6 +126,8 @@ char *strsignal(int); #endif #if __BSD_VISIBLE +void explicit_bzero(void *, size_t) + __attribute__ ((__bounded__(__buffer__,1,2))); void *memmem(const void *, size_t, const void *, size_t); void *memrchr(const void *, int, size_t); char *strcasestr(const char *, const char *); |