![]() |
|
#1
|
|||
|
|||
C# - check stdin for piped data without blockingHow about this one.
I want to detect if there is piped data waiting in stdin when my prog starts. But it seems that stdin does not even contain an EOF until there is input. As a result I get a block... Example of several things I/ve tried: C-SHARP / C# Code:
After ENTER is pressed the -1 is appended after it. Thanks Last edited by Howard_L : 19-Oct-2009 at 00:50.
|
|||
Recent GIDBlog
Programming ebook direct download available by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Memory leak when nothing is happening... How can I even debug this ? | Algar | MS Visual C++ / MFC Forum | 10 | 19-Nov-2007 08:17 |
| [Include] Doubly-linked List | dsmith | C Programming Language | 6 | 14-Apr-2006 14:12 |
| Strange C++ code memory leakage problem | gaoanyu | C++ Forum | 7 | 04-Nov-2005 09:09 |
| [GIM] Data Module - Contact | dsmith | C Programming Language | 2 | 27-Jan-2005 17:30 |
| [CONTEST?]Data Structure Test | dsmith | C Programming Language | 2 | 06-Jun-2004 16:13 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The