Date: Wed, 12 Jan 2000 16:59:13 +0000 (GMT) From: Jonathon McKitrick <jcm@dogma.freebsd-uk.eu.org> To: Sheldon Hearn <sheldonh@uunet.co.za> Cc: freebsd-questions@freebsd.org, lee@dogma.freebsd-uk.eu.org Subject: Re: simple c i/o question Message-ID: <Pine.BSF.4.21.0001121657400.2644-100000@dogma.freebsd-uk.eu.org> In-Reply-To: <86965.947695836@axl.noc.iafrica.com>
next in thread | previous in thread | raw e-mail | index | archive | help
#include <stdio.h>
main()
{
fprintf(stderr, "Hello world\n");
fprintf(stdout, "Hello world\n");
printf("Hello world\n");
}
cc -o test test.c
test
Output is nothing. Program immediately returns to the prompt.
-=> jm <=-
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0001121657400.2644-100000>
