Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Suggested method for returning a string from a C program? Date: Thu, 20 Mar 2025 16:56:38 -0700 Organization: A noiseless patient Spider Lines: 22 Message-ID: <86jz8jmf2h.fsf@linuxsc.com> References: <87a59hvgyk.fsf@nosuchdomain.example.com> <86ecyronqa.fsf@linuxsc.com> <86a59fo910.fsf@linuxsc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Fri, 21 Mar 2025 00:56:39 +0100 (CET) Injection-Info: dont-email.me; posting-host="9bc70e960ad448c1d41587328c2ae099"; logging-data="279948"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18M1CC9zWlTzxAoXbR0VNTz/iaNr9fme2I=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:gk3wVFiR6jvEAYJHQGd2IhkgBDY= sha1:dB+LZdg+SCKsDSu/5JeVGvqbSrs= Bytes: 2152 Richard Heathfield writes: > On 20/03/2025 18:24, Tim Rentsch wrote: > > > >> My understanding of what was done in the C17 standard agrees with >> your casual research, except I might have said "almost entirely" >> rather than "predominantly". >> >> I have not spent nearly as much time looking at the C23, especially >> in comparison with C99 or C11. Based on what little I do know about >> C23, I consider that version of C to be one best avoided, for at >> least a decade and perhaps more. I may have more to say about that >> at some point in the future but do not have anything right now. > > Thank you for your reply, which as ever was cogent and highly > informative. Just be thankful my response wasn't typed during a full moon. ;) (More seriously: I appreciate the compliment.)