32 lines
1.5 KiB
Plaintext
32 lines
1.5 KiB
Plaintext
malloc : 0x2038870, errno: 0 = Success
|
|
malloc (SIZE_MAX) : (nil), errno: 12 = Out of memory
|
|
calloc : 0x2038870, errno: 0 = Success
|
|
calloc (overflowing) : (nil), errno: 12 = Out of memory
|
|
realloc : 0x2038870, errno: 0 = Success
|
|
realloc (SIZE_MAX) : (nil), errno: 12 = Out of memory
|
|
memalign : 0x2038a00, errno: 0 = Success
|
|
memalign (SIZE_MAX) : (nil), errno: 12 = Out of memory
|
|
memalign (alignment 0): (nil), errno: 22 = Invalid argument
|
|
memalign (alignment 3): (nil), errno: 22 = Invalid argument
|
|
aligned_alloc (size % alignment == 0):
|
|
0x2038980, errno: 0 = Success
|
|
aligned_alloc (size % alignment != 0):
|
|
(nil), errno: 22 = Invalid argument
|
|
valloc : 0x2039000, errno: 0 = Success
|
|
valloc (SIZE_MAX) : (nil), errno: 12 = Out of memory
|
|
posix_memalign:
|
|
0x2038980, return value: 0 = Success,
|
|
errno: 0 = Success
|
|
posix_memalign (alignment 0):
|
|
(nil), return value: 22 = Invalid argument,
|
|
errno: 0 = Success
|
|
posix_memalign (non-power-of-two multiple of sizeof(void *)):
|
|
(nil), return value: 22 = Invalid argument,
|
|
errno: 0 = Success
|
|
posix_memalign (size 0):
|
|
0x2038ac0, return value: 0 = Success,
|
|
errno: 0 = Success
|
|
posix_memalign (SIZE_MAX):
|
|
(nil), return value: 12 = Out of memory,
|
|
errno: 12 = Out of memory
|