Re: should free() refer to posix_memalign?

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

 




On 08/10/2021 15:58, Alejandro Colomar (man-pages) wrote:
> Hi Jonny,
> 
> On 10/8/21 3:28 PM, Jonny Grant wrote:
>>> I don't like that list.  It is incomplete (the first one that comes to my mind is asprintf(3)).  Either we provide a _complete_ list of functions that can be free(3)d, which I think will be difficult to keep up to date, or we use the same wording as POSIX, and say that it deallocates memory allocated as if by malloc(3).
>>>
>>>
>>> What are your thoughts?
>>
>> That sounds reasonable.
>>
>> "deallocates" sounds better than "frees"
> 
> When I was going to fix it, I noticed that we already had that fixed recently:
> <https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=cfc381be29fb7b4f642b8b333882f22628112abe>
> 
> Kind regards,
> 
> Alex

That's great.

I noticed this page has a date  2021-03-22     for the 5.13 at the footer. But the release tarball is dated 27-Aug-2021
https://man7.org/linux/man-pages/man3/malloc.3.html

Possibly there is a reason the date is different?

Kind regards
Jonny



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux