mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 03:00:52 -04:00
This patch enabled usage of SIMD enhanced functions to implement bcopy and bzero. Tested by: fuz (exprun) Reviewed by: fuz, emaste Sponsored by: Google LLC (GSoC 2024) PR: 281175 Differential Revision: https://reviews.freebsd.org/D46459
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);
|
|
}
|