Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxn!ihnp4!houxm!whuxl!whuxlm!akgua!gatech!seismo!brl-adm!brl-smoke!smoke!gwyn@BRL.ARPA From: gwyn@BRL.ARPA Newsgroups: net.lang.c Subject: Re: Infinite loops Message-ID: <117@brl-smoke.ARPA> Date: Fri, 18-Apr-86 19:57:51 EST Article-I.D.: brl-smok.117 Posted: Fri Apr 18 19:57:51 1986 Date-Received: Mon, 21-Apr-86 02:11:46 EST Sender: news@brl-smoke.ARPA Lines: 10 do ... while(1); while(1) ... for(;;) ... are all widely-used idioms for unconditional looping in C. I personally prefer the latter, but the choice is just a matter of taste. Any reasonable compiler will generate efficient code for all three constructs.