in reply to Re: OT: Why does malloc always give me 24?
in thread OT: Why does malloc always give me 24? [SOLVED]
Yes, thank you. I just read the manpage.
For completeness:
int 4 int32_t 4 _acme 4 gizmo 16 gizmo[0]->data 4 gizmo[1]->data 4 &gizmo[0] 0x7ffcf0263680 &gizmo[1] 0x7ffcf0263688 &gizmo[0]->data 0x55d34e8cf6b0 &gizmo[1]->data 0x55d34e8cf6d0 malloc_usable_size(gizmo[0]) 24 malloc_usable_size(gizmo[1]) 24
”…there's a minimum size the system can allocate”
Secrecy? From ibidem: ”Secrets are sometimes kept to provide the pleasure of surprise.”
Best regards, Karl
|
|---|