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: Sat, 22 Mar 2025 14:54:01 -0700 Organization: None to speak of Lines: 12 Message-ID: <87wmcg91fq.fsf@nosuchdomain.example.com> References: <87a59hvgyk.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Sat, 22 Mar 2025 22:54:02 +0100 (CET) Injection-Info: dont-email.me; posting-host="560ef87f14dda6eab647556d5657da3c"; logging-data="859590"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18sLDG0K8Dzx9hNYyiALAIl" User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:JOVvk3EVaYVfMXEHt7JdPJ1MZsw= sha1:58orRRpS2NfsdBxA8qKbgunOiuw= Xref: csiph.com comp.lang.c:391527 Peter 'Shaggy' Haywood writes: [...] > The reason scanf() can be a bit iffy is that you can't control what a > user will enter. If you search Google or Duck Duck Go for "comp.lang.c > faq" you can find more information on this and other issues. (The FAQ > is still out there, people..., somewhere...) https://www.c-faq.com/ -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com void Void(void) { Void(); } /* The recursive call of the void */