mirror of
https://github.com/cculianu/Fulcrum.git
synced 2026-08-13 12:33:27 +02:00
14 lines
193 B
C++
14 lines
193 B
C++
|
|
#include <cstdlib>
|
||
|
|
#include <jemalloc/jemalloc.h>
|
||
|
|
|
||
|
|
int main()
|
||
|
|
{
|
||
|
|
if (malloc(1) == nullptr)
|
||
|
|
return 1;
|
||
|
|
|
||
|
|
if (mallocx(1, MALLOCX_ZERO) == nullptr)
|
||
|
|
return 1;
|
||
|
|
|
||
|
|
return 0;
|
||
|
|
}
|