On 9/8/19 1:58 PM, Bruno Haible wrote:
Well, then we need variants of the *printf functions that return an 'ssize_t'
instead of an 'int'.

Do you happen to know the opinion of the glibc people on this topic?

Sorry, no. I imagine it's come up.

I would suggest ptrdiff_t rather than ssize_t, as the latter was 'int' on some old 64-bit platforms whereas ptrdiff_t never had that problem, and Glibc malloc now prohibits objects larger than PTRDIFF_MAX bytes.

Reply via email to