diff options
author | delphij <delphij@FreeBSD.org> | 2014-10-07 04:54:11 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2014-10-07 04:54:11 +0000 |
commit | e23313b949a529fda2b1e1fd025f00e52248e430 (patch) | |
tree | 8e054464e7dbf0c725d0727c33ec7858eac81231 /include/strings.h | |
parent | a1e6db42da46ee181d41769f03e9d361096c4eab (diff) | |
download | FreeBSD-src-e23313b949a529fda2b1e1fd025f00e52248e430.zip FreeBSD-src-e23313b949a529fda2b1e1fd025f00e52248e430.tar.gz |
Add explicit_bzero(3) and its kernel counterpart.
Obtained from: OpenBSD
MFC after: 2 weeks
Diffstat (limited to 'include/strings.h')
-rw-r--r-- | include/strings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/strings.h b/include/strings.h index 4fb9311..2210df0 100644 --- a/include/strings.h +++ b/include/strings.h @@ -43,6 +43,9 @@ int bcmp(const void *, const void *, size_t) __pure; /* LEGACY */ void bcopy(const void *, void *, size_t); /* LEGACY */ void bzero(void *, size_t); /* LEGACY */ #endif +#if __BSD_VISIBLE +void explicit_bzero(void *, size_t); +#endif #if __XSI_VISIBLE int ffs(int) __pure2; #endif |