c programming, disable user input into terminal -


hi there possible way temporarily disable user input terminal in c programming language?

there reason why can't (possible malicious uses) if possible, can please illustrate how? maybe there function, setting or obscure system command?

for context: friend having issues hard drive, created program ran few terminal command , printed output text file send me. worked fine, didn't know doing printed instructions console instruct him in do. although worked out, thought did occur potentially disable user input particular terminal window until required, , question.

its pretty basic question if duplicate (although not find one) please label such.


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -