Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 14:54:25 -0400 (EDT)
From:      Zhiui Zhang <zzhang@cs.binghamton.edu>
To:        freebsd-questions@freebsd.org
Subject:   write to terminal in a background process
Message-ID:  <Pine.SOL.4.21.0009141449420.20348-100000@opal>

next in thread | raw e-mail | index | archive | help

I thought a background process can not write to terminal. It will get a
signal if trying to do so. But someone presents me a small program:

#include
main()
{
	printf("printing\n");
}

$ a.out &

and it does print. Can anyone explain this to me?  Thanks.

-Zhihui





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.SOL.4.21.0009141449420.20348-100000>