tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Return Value of realloc(3)



On Sun, Dec 30, 2012 at 1:50 PM, Mouse <mouse%rodents-montreal.org@localhost> 
wrote:
>>> "If size is 0, either NULL or a unique pointer that can be
>>> successfully passed to free(3) is returned."
>
> I don't like this language.  Does "unique" here mean that there is only
> one such pointer (returned by all such calls), or does it mean that it
> is distinct from all other non-nil pointers returned by malloc-family
> functions?

I just took it from that openpub document
(http://pubs.opengroup.org/onlinepubs/009696899/functions/realloc.html)
:-)


Home | Main Index | Thread Index | Old Index