3 * Our own bzero/memmove.
5 * Copyright (C) 2015 Xamarin Inc
7 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
8 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
11 #ifndef __MONO_UTILS_MEMFUNCS_H__
12 #define __MONO_UTILS_MEMFUNCS_H__
17 These functions must be used when it's possible that either destination is not
18 word aligned or size is not a multiple of word size.
20 void mono_gc_bzero_atomic (void *dest, size_t size);
21 void mono_gc_bzero_aligned (void *dest, size_t size);
22 void mono_gc_memmove_atomic (void *dest, const void *src, size_t size);
23 void mono_gc_memmove_aligned (void *dest, const void *src, size_t size);