[so] [Tema1][Test38] calloc nu intoarce NULL
Dorin Geman
dorin.geman at rosedu.org
Mon Mar 9 13:07:40 EET 2020
On Mon, Mar 9, 2020 at 12:53 PM Mihai Barbulescu <b12mihai at gmail.com> wrote:
> Imi poti spune __ce__ returneaza calloc?
>
> Alternativ (si nu vad o problema) poti face:
> - malloc
> - memset(your_ptr, 0, sizeof(your_ptr_datatype))
>
> Checkerul din cate stiu face LD_PRELOAD la malloc dar nu si la calloc,
> asa ca mai multe informatii ne-ar ajuta
>
> Am rezolvat! Era un DIE pus gresit.
> Multumesc!
>
Dorin Geman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20200309/5cda9aad/attachment.html>
More information about the so
mailing list