On 10/25/2026 8:39 PM, Lawrence D’Oliveiro wrote:
> On Sun, 25 Oct 2026 19:11:48 -0700, Chris M. Thomasson wrote: >
>> A caller provided buffer is normal with a lot of API's out there.
> > No it isn’t. It’s not a good way to manage things, anyway: instead of > solving the resource-allocation problem once and for all in the > library API, you are pushing the burden onto all the client code, each > one of which has to solve it for itself. > > That’s a dumb way to design things.
HUH? How do you call say, fread without a user provided buffer?