Skip to contentSkip to conversation

malloc details

DISCUSSION kaushal 2 participants 2 messages Nov 10, 2004 – Nov 18, 2004 1 message not in the archive

lore
Share & tools
lore

kaushal

author
#0 lore raw

hi,
Im writing a malloc code wherein I want to make sure that malloc has
succeeded ,in fact I want to know the details of the mem. regions allocated.
thanks in advance.
bye

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 3 lines · kaushal

Im writing a malloc code wherein I want to make sure that malloc has
succeeded ,in fact I want to know the details of the mem. regions allocated.

If you are able to access the pointer then malloc has succeeded.

--
cheers,
Vadi

Signature · 2 lines
cheers,
Vadi