Re: malloc realloc and pointers
- From: Flash Gordon <spam@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Nov 2007 21:27:47 +0000
CBFalconer wrote, On 30/11/07 00:42:
ravi wrote:
<snip>
3. whats the maximum memory size that we can allocate dynamically by
calling malloc() ?
Depends on the system. All you can find out is that a malloc
(etc.) request is fulfilled or rejected.
<snip>
You also know that you cannot allocate more than (size_t)-1 bytes with a single call to malloc.
--
Flash Gordon
.
- References:
- malloc realloc and pointers
- From: ravi
- Re: malloc realloc and pointers
- From: CBFalconer
- malloc realloc and pointers
- Prev by Date: Re: Global Variables : Where are they stored ?
- Next by Date: Re: Very interesting GC discussion
- Previous by thread: Re: malloc realloc and pointers
- Next by thread: Re: malloc realloc and pointers
- Index(es):