@@ -598,5 +598,14 @@ memcpy(copy, string, length + 1); return copy; } + +static OF_INLINE void +of_explicit_memset(void *buffer_, int character, size_t length) +{ + volatile unsigned char *buffer = buffer_; + + while (buffer < (unsigned char*)buffer_ + length) + *buffer++ = character; +}