[musl] Re: realloci(): A realloc() variant that works in-place
Alejandro Colomar
alx@kernel.org
Fri Oct 31 22:51:24 GMT 2025
Hi Joseph,
On Fri, Oct 31, 2025 at 10:33:49PM +0000, Joseph Myers wrote:
> On Fri, 31 Oct 2025, Alejandro Colomar wrote:
>
> > ssize_t realloci(void *p, size_t size);
>
> There is no such type name as ssize_t in the C standard (and the convenor
> is strongly opposed to adding such a type).
I know, and I also know the convenor has no more voting power than any
other member of the committee.
If this API was implemented in glibc and musl, it would already be
useful to some C++ implementations, regardless of being non-standard.
Maybe POSIX could standardize it first. Maybe this API proved useful,
then a majority of the committee might accept it.
Have a lovely night!
Alex
--
<https://www.alejandro-colomar.es>
Use port 80 (that is, <...:80/>).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/libc-alpha/attachments/20251031/f3da44ba/attachment.sig>
More information about the Libc-alpha
mailing list