Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <wqsrrzvthdmytreqob25vncv6vyfyvzehtjvqqbijbnq6ryhng@heqvsbjeyj7e>
Date: Fri, 31 Oct 2025 23:51:24 +0100
From: Alejandro Colomar <alx@...nel.org>
To: Joseph Myers <josmyers@...hat.com>
Cc: Thiago Macieira <thiago@...ieira.org>, 
	Paul Eggert <eggert@...ucla.edu>, libc-alpha@...rceware.org, musl@...ts.openwall.com, 
	"A. Wilcox" <AWilcox@...cox-tech.com>, Lénárd Szolnoki <cpp@...ardszolnoki.com>, 
	Collin Funk <collin.funk1@...il.com>, Arthur O'Dwyer <arthur.j.odwyer@...il.com>, 
	Jonathan Wakely <jwakely@...hat.com>, "Paul E. McKenney" <paulmck@...nel.org>
Subject: Re: Re: realloci(): A realloc() variant that works in-place

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/>).

Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.