reading from pipe

Discussion in 'C Programming' started by Rolf Wester, Oct 17, 2003.

  1. Rolf Wester

    Rolf Wester Guest

    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
     
    Rolf Wester, Oct 17, 2003
    #1
    1. Advertising

  2. Greetings.

    In article <bmo68s$p9i$-Aachen.DE>, 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
     
    Tristan Miller, Oct 17, 2003
    #2
    1. Advertising

  3. Rolf Wester

    Rolf Wester Guest

    Tristan Miller wrote:
    > Greetings.
    >
    > In article <bmo68s$p9i$-Aachen.DE>, 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
     
    Rolf Wester, Oct 17, 2003
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. lee, wonsun
    Replies:
    1
    Views:
    503
    Jack Klein
    Nov 2, 2004
  2. bill
    Replies:
    4
    Views:
    465
    Barry Schwarz
    Nov 9, 2005
  3. Rudy Gevaert
    Replies:
    2
    Views:
    3,868
    Joe Smith
    Mar 15, 2008
  4. Miguel P
    Replies:
    3
    Views:
    584
    Miguel P
    Sep 12, 2009
  5. Replies:
    1
    Views:
    246
    Ben Morrow
    Jun 2, 2004
Loading...

Share This Page