Path: csiph.com!news.mixmin.net!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c Subject: Re: Sort char array Date: Tue, 08 Oct 2019 11:47:46 -0700 Organization: None to speak of Lines: 19 Message-ID: References: <87ftk7nwlx.fsf@bsb.me.uk> <5i3mF.952079$aI7.587046@fx22.am4> <87a7afnmiq.fsf@bsb.me.uk> <8636g5ap5m.fsf@linuxsc.com> <20191007131948.c9f28d44bcd105e7a153069a@g{oogle}mail.com> <2xFmF.867378$yH4.431562@fx18.am4> <20191007174244.385138503569a8bc6d4eec9d@g{oogle}mail.com> <20191008022725.36fbd95aa45ba185290e5e11@gmail.com> <1q_mF.841756$Zy3.585129@fx33.am4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: reader02.eternal-september.org; posting-host="a246233549c394348cfe195f5e562d6b"; logging-data="2420"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18dOty+BD32fJL7jFbc/Dtl" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:PiGHzUJxGp0b+O3gubcAa10uHKg= sha1:jZWziaL8KtJ4E7oQecf1Jld0bAA= Xref: csiph.com comp.lang.c:146768 Bart writes: > On 08/10/2019 00:27, Anton Shepelev wrote: >> If it is a hardware-abstract, high-level language, then why >> do you need such conversion? Surely you do not write to, or >> perform address arithmetics on function pointers, nor do you >> invoke memory blocks? > > No but you sometimes want a generic function pointer type, and the void* > type ('ref void' in my language) suits that. Of course you already know how to implement a generic function pointer type in valid and portable C, because I've explained it to you before. [...] -- Keith Thompson (The_Other_Keith) kst-u@mib.org Will write code for food. void Void(void) { Void(); } /* The recursive call of the void */