Article View: comp.os.linux.development.apps
Article #95Can a PIPE input be FLUSHED?
From: Rod Tolosa
Date: Wed, 05 Aug 1998 00:00
Date: Wed, 05 Aug 1998 00:00
9 lines
1045 bytes
1045 bytes
I'm reading from a pipe file that I created using mknod -p. What I'd like to do is when I open up the file or at certain times, be able to FLUSH any input on this pipe. I checked ioctl calls, socket calls, include files, and the pipe.c source code. I could not find anything. Does anyone know what command I can use for this?
Technical Details
Message-ID:
<35C8C4A1.93FCECDC@dvsystems.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f5392,325850ca8fa5fe66,start X-Google-Attributes: gidf5392,public X-Google-Thread: 10c696,325850ca8fa5fe66,start X-Google-Attributes: gid10c696,public X-Google-Thread: 11663c,325850ca8fa5fe66,start X-Google-Attributes: gid11663c,public From: Rod Tolosa <rod@dvsystems.com> Subject: Can a PIPE input be FLUSHED? Date: 1998/08/05 Message-ID: <35C8C4A1.93FCECDC@dvsystems.com> X-Deja-AN: 378291940 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 NNTP-Posting-Date: Wed, 05 Aug 1998 13:49:00 PDT Newsgroups: comp.os.linux.development.apps,comp.os.linux.development.system,dc.org.linux-users