AFAIK I don't have either of those options available to me. It seems the only option I have right now is to remove the fgets. Now, how can I have handle:
without dominating the system resources, but also having a way to break out of the loop?Code:while (running) { ... }