From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexi Jordanov Subject: Reading from pipe Date: Tue, 4 Feb 2003 07:31:58 -0800 (PST) Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <20030204153158.46580.qmail@web40606.mail.yahoo.com> References: <1043980862.1683.2.camel@hikaru> Mime-Version: 1.0 Return-path: In-Reply-To: <1043980862.1683.2.camel@hikaru> List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-c-programming@vger.kernel.org Hello, I'm using pipes at this moment and I try decrease threads in my application. Therefore I need to know whether there is a way to check if there are any available bytes in pipe. I don't want to use blocking read operation. Just to check and if there are then to read them. Regards, Alex __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com