Mail Archives: djgpp/2001/11/08/01:09:21
From: | Raf256 <raf256 AT go2 DOT pl>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | sizeof void* ?
|
Date: | Thu, 8 Nov 2001 04:45:24 +0000 (UTC)
|
Organization: | http://news.icm.edu.pl/
|
Lines: | 14
|
Message-ID: | <Xns91533B07D431Braf256civ@193.219.28.2>
|
NNTP-Posting-Host: | chello062179025129.chello.pl
|
Mime-Version: | 1.0
|
X-Trace: | sunsite.icm.edu.pl 1005194724 15571 62.179.25.129 (8 Nov 2001 04:45:24 GMT)
|
X-Complaints-To: | abuse AT icm DOT edu DOT pl
|
NNTP-Posting-Date: | Thu, 8 Nov 2001 04:45:24 +0000 (UTC)
|
User-Agent: | Xnews/4.06.22
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
HI,
I have memor area like :
void *ptr = malloc(1024);
realloc(ptr, ???);
how can I here check current size of memory block that begins in ptr ?
Thanks :)
--
Raf256 : C C++ VC VB PHP TP Delphi JS Java PHP *UPT*
,--, _ ,- _ _ _ ,---------------------------------------------,
|,-'`_|_|_ `_||_'|_' | raf256 AT go2 DOT pl
| `\(_) | |_,,_||_| | KILL /bin/laden/*
- Raw text -