18 lines
565 B
C
18 lines
565 B
C
//---
|
|
// memfunctest - Check the behaviour of the core memory functions
|
|
//
|
|
// This small program checks that memcpy(), memset() and memmove() work
|
|
// properly in all source/destination alignment, size, overlap scenarios.
|
|
// It also checks both small and large areas to trigger usual optimizations.
|
|
//---
|
|
|
|
#ifndef __MEMFUNCTEST_H__
|
|
#define __MEMFUNCTEST_H__
|
|
|
|
/* memfunctest() - check the bejavior of the core memory functions
|
|
Displays the test result on the screen.
|
|
Returns non-zero if any test fails. */
|
|
int memfunctest(void);
|
|
|
|
#endif /* __MEMFUNCTEST_H__ */
|