Re: Is realloc(3) permitted to fail when shrinking a block?

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

 



>This mailing list is about GCC, not general C programming. The realloc
>function is not part of GCC.
Sorry, I didn't notice it.
I took it granted that libc is part of the GCC since there is a folder
named "libstdc++" in the Github of GCC(i.e.
https://github.com/gcc-mirror/gcc/tree/master/libstdc%2B%2B-v3).

One more question arises, why there is no library for libc whereas
libstdc++ is provided by GCC?

Thank you for your attention to this matter.

On Tue, Aug 11, 2020 at 3:22 PM Jonathan Wakely <jwakely.gcc@xxxxxxxxx> wrote:
>
> On Tue, 11 Aug 2020 at 07:39, 孙世龙 sunshilong via Gcc-help
> <gcc-help@xxxxxxxxxxx> wrote:
> >
> > Thank you for your reply.
> >
> > >If the heap's corrupt, yes, it can fail...
> > Could you please explain that in more detail?
>
> This mailing list is about GCC, not general C programming. The realloc
> function is not part of GCC.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux