OSBlockSet

Syntax

#include <cafe/os.h>

void *  OSBlockSet(void* dst, u8 val, size_t size);

Parameters

dst Start address of destination area.
val Value to write.
size Number of bytes to write.

Return Values

Pointer to start address of destination area.

Description

Optimized memset function. OSBlockSet sets size bytes to val using dcbz where possible.

Do Not Call From

Multiple threads This function is not thread-safe.

Revision History

2013/05/08 Automated cleanup pass.
2012/08/08 Initial version.


CONFIDENTIAL