On 21/4/21 4:07 pm, Sebastian Huber wrote:
> Hello,
>
> while working on the specification of some memory allocation directives I
> noticed that zero size allocations have no consistent behaviour in RTEMS. For
> example malloc( 0 ) returns NULL and posix_memalign(&p, align, 0) returns in
> p a
>
Hello,
while working on the specification of some memory allocation directives
I noticed that zero size allocations have no consistent behaviour in
RTEMS. For example malloc( 0 ) returns NULL and posix_memalign(&p,
align, 0) returns in p a unique pointer (or NULL if no memory is
available). I