[fpc-devel] GetMem(SomePointer, 0) <> nil

Jonas Maebe jonas.maebe at elis.ugent.be
Tue Mar 1 23:24:01 CET 2011


On 01 Mar 2011, at 22:58, Vinzent Höfler wrote:

> What I wonder is, if GetMem returns a non-NIL, valid pointer for a request
> of zero bytes of memory, where does this pointer actually point to? ;)

To a small, non-zero sized memory block.


Jonas


More information about the fpc-devel mailing list