Read In C When No Data In Pipe?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If no data is being piped into a program written in C, the program will typically wait for input. It can also be set to detect and respond to the end of file (EOF) but this must be done deliberately.