mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 23:04:36 -04:00
Notably: - libc needs to #undef some of the macros from ssp/* for underlying implementations - ssp/* wants a __RENAME() macro (snatched more or less from NetBSD) There's some extra hinkiness included for read(), since libc spells it as "_read" while the rest of the world spells it "read." Reviewed by: imp, ngie Sponsored by: Stormshield Sponsored by: Klara, Inc. Differential Revision: https://reviews.freebsd.org/D32307
14 lines
141 B
C
14 lines
141 B
C
/*-
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <string.h>
|
|
|
|
#undef bzero /* _FORTIFY_SOURCE */
|
|
|
|
void
|
|
bzero(void *b, size_t len)
|
|
{
|
|
|
|
memset(b, 0, len);
|
|
}
|