home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!paladin.american.edu!gatech!purdue!yuma!csn!stortek!fester!dickerso
- From: dickerso@fester.dell.com (Russell Dickerson - X5409)
- Newsgroups: comp.unix.programmer
- Subject: Finding out if output is available in a FILE *
- Message-ID: <dickerso.716158871@fester>
- Date: 10 Sep 92 21:01:11 GMT
- Sender: usenet@stortek.com
- Reply-To: dickerso@cpat.stortek.com
- Distribution: usa
- Organization: IO SpecialistsConsulting
- Lines: 14
-
- I'm trying to filedesc = popen(...) in a program. I've had it working
- for a while but would like to modify it so I can check to see if there
- is any output before I attempt to read from the pipe since the read is
- blocking. Since this is in an X program, blocking is not desirable.
-
- I saw something posted akin to this some time back but I can't find the
- printout.
-
- reply>>> dickerso@cpat.stortek.com
- --
- -----------------------------------------------------------------------
- Russell Dickerson Unix/X Consultant IOSpecialists
- (303) 673-5409 ---REPLY TO>>> dickerso@cpat.stortek.com <<<!!!!--------
- #include <standard.disclaimer>
-