From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <1d5d51400807061503u325857b4nf1b4b326a08876a1@mail.gmail.com> Date: Mon, 7 Jul 2008 06:03:13 +0800 From: "Fernan Bolando" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@9fans.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [9fans] APE printf difference Topicbox-Message-UUID: dc97ef88-ead3-11e9-9d60-3106f5b1d025 Hi I am probably posting more noise, but shouldnt the code below print the prompt first then ask for a char? It works fine under gcc. #include int main() { printf("\nprompt"); getchar(); return 0; } -- http://www.fernski.com