The UNIX and Linux Forums
>
Top Forums
>
High Level Programming
How to clear the content of a pipe (STDIN) after it is written to another program?
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
How to clear the content of a pipe (STDIN) after it is written to another program?
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
05-14-2008
vvaidyan
Registered User
Join Date: Mar 2008
Posts: 15
can you please tell me the syntax?
According to the code above, am already reading from the pipe after exec'ing program B. Can you please point in code if I had done anything wrong?
Thanks,
Vivek
Last edited by vvaidyan; 05-14-2008 at
01:01 PM
.
vvaidyan
View Public Profile
Find all posts by vvaidyan