[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120614174153.7f732e4a@pyramind.ukuu.org.uk>
Date: Thu, 14 Jun 2012 17:41:53 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: Dave Jones <davej@...hat.com>
Cc: Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: 3.5.rc2 tty buffering bug ?
> How does 'begin' get printed a second time ?
You've been away from user space too long. Read the documentation for
stdio. Stdio is buffering, both forks get the buffer, both write it.
Try the experiment with write()
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists