Sujet : Re: Suggested method for returning a string from a C program?
De : Keith.S.Thompson+u (at) *nospam* gmail.com (Keith Thompson)
Groupes : comp.lang.cDate : 21. Mar 2025, 00:18:57
Autres entêtes
Organisation : None to speak of
Message-ID : <87ecyrs332.fsf@nosuchdomain.example.com>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13
User-Agent : Gnus/5.13 (Gnus v5.13)
bart <
bc@freeuk.com> writes:
On 20/03/2025 19:10, Keith Thompson wrote:
bart <bc@freeuk.com> writes:
[...]
stdint.h et al are just ungainly bolt-ons, not fully supported by the
language.
No, they're fully supported by the language. They've been in the ISO
standard since 1999.
>
I don't think so. They are add-ons that could have been created in
user-code even prior to C99 (user-defined typedefs for 64 bits would
'need long long').
Sure, they could; see Doug Gwyn's q8, for example.
All that's happened is that 'stdint.h' has been blessed.
I.e., it was made part of the language, specifically the standard
library that's part of the language standard. Which is what I said,
but for some reason you disagreed.
Yes, the format specifiers are a bit awkward. Boo hoo.
[...]
-- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.comvoid Void(void) { Void(); } /* The recursive call of the void */