简体   繁体   中英

How can I hardcode input with the "select" system call in C?

如果我正确理解了这个系统调用“select”,

?????

If you don't want user input ... then just don't ask for user input!

If you want to "automate" user input, why not run your program with "myprog < myinput.txt"?

Am I missing something???

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM