On Friday, 23 December 2016 at 12:51:29 UTC, Nemanja Boric wrote:
What's in the `core.sys.posix.poll` is just a C wrapper,
meaning if you use functions declared there, you're just
calling the same one you would do in C, so it's very likely
that you're doing something different in D and C program.
Here's the example that works for me:
[...]
Thank you so much! That worked perfectly. It looks like the
problem was that I was passing in the wrong fileno and this was
causing it to always return 1.
Thanks again!