O
orium69
Hi!
how could i know if it was written something in stdin since the last
time i read it?
Tks...
how could i know if it was written something in stdin since the last
time i read it?
Tks...
Hi!
how could i know if it was written something in stdin since the last
time i read it?
Hi!
how could i know if it was written something in stdin since the last
time i read it?
rayw said:Not quite sure I've got this right, but you're asking [?] if I've read
stdin - until it's empty, how can I then determine whether something else is
waiting there to be read?
Well, I guess you'd try to read something from stdin
rayw said:Not quite sure I've got this right, but you're asking [?] if I've read
stdin - until it's empty, how can I then determine whether something else
is
waiting there to be read?
Well, I guess you'd try to read something from stdin
My problem is that I need to read from stdin only if is something to
read, i don want to break the program until somebody type something...
rayw said:Hi!
how could i know if it was written something in stdin since the last
time i read it?
Not quite sure I've got this right, but you're asking [?] if I've read
stdin - until it's empty, how can I then determine whether something else is
waiting there to be read?
Well, I guess you'd try to read something from stdin
My problem is that I need to read from stdin only if is something to
read, i don want to break the program until somebody type something...
how could i know if it was written something in stdin since the last
time i read it?
Impossible mission. There is nothing in standard C that defines thatrayw said:Not quite sure I've got this right, but you're asking [?] if I've read
stdin - until it's empty, how can I then determine whether something else is
waiting there to be read?
Well, I guess you'd try to read something from stdin
My problem is that I need to read from stdin only if is something to
read, i don want to break the program until somebody type something...
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.