Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > reading from pipe

Reply
Thread Tools

reading from pipe

 
 
Rolf Wester
Guest
Posts: n/a
 
      10-17-2003
Hi,

I have a program that reads from a named pipe. If there is nothing to
read the program is waiting but I would like the program to proceed when
there is nothing to read. How can I do that?
I would be appreciative for any help.

Regards

Rolf Wester

 
Reply With Quote
 
 
 
 
Tristan Miller
Guest
Posts: n/a
 
      10-17-2003
Greetings.

In article <bmo68s$p9i$>, Rolf Wester wrote:
> I have a program that reads from a named pipe. If there is nothing to
> read the program is waiting but I would like the program to proceed when
> there is nothing to read. How can I do that?
> I would be appreciative for any help.


Try asking on comp.unix.programmer. Pipes aren't a feature of standard C.

Regards,
Tristan

--
_
_V.-o Tristan Miller [en,(fr,de,ia)] >< Space is limited
/ |`-' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-= <> In a haiku, so it's hard
(7_\\ http://www.nothingisreal.com/ >< To finish what you
 
Reply With Quote
 
 
 
 
Rolf Wester
Guest
Posts: n/a
 
      10-17-2003
Tristan Miller wrote:
> Greetings.
>
> In article <bmo68s$p9i$>, Rolf Wester wrote:
>
>>I have a program that reads from a named pipe. If there is nothing to
>>read the program is waiting but I would like the program to proceed when
>>there is nothing to read. How can I do that?
>>I would be appreciative for any help.

>
>
> Try asking on comp.unix.programmer. Pipes aren't a feature of standard C.
>
> Regards,
> Tristan
>

Thanks for that hint. It helped.

Regards

Rolf Wester

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CPU usage while reading a named pipe Miguel P Python 3 09-12-2009 07:01 PM
reading from stdin via pipe, buffering? Rudy Gevaert Perl 2 03-15-2008 08:43 AM
fread() blocks when reading pipe with closed write end bill C Programming 4 11-09-2005 02:18 AM
[named pipe] i wanna know about validate of pipe handle of client lee, wonsun C++ 1 11-02-2004 04:29 AM
Why does IO::Pipe::END generate an EXCEPT pipe message? lvirden@gmail.com Perl Misc 1 06-02-2004 02:17 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57