Path: csiph.com!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Suggested method for returning a string from a C program? Date: Thu, 20 Mar 2025 16:18:57 -0700 Organization: None to speak of Lines: 28 Message-ID: <87ecyrs332.fsf@nosuchdomain.example.com> References: <868qp1ra5f.fsf@linuxsc.com> <20250319115550.0000676f@yahoo.com> <20250319201903.00005452@yahoo.com> <86r02roqdq.fsf@linuxsc.com> <874izntt5t.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Fri, 21 Mar 2025 00:18:58 +0100 (CET) Injection-Info: dont-email.me; posting-host="279d8aeca4b8e8a9dbe8bc9eae075af5"; logging-data="279745"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dhR9IpEFDKAOLU4wUzVrb" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:5087yNdNp20rpTb9RULI4KlNono= sha1:2snk2krmuCbiP80xaIqyM2ZAAZY= Xref: csiph.com comp.lang.c:391449 bart writes: > On 20/03/2025 19:10, Keith Thompson wrote: >> bart 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.com void Void(void) { Void(); } /* The recursive call of the void */