<div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 24, 2019, 12:53 PM enh via Toybox <<a href="mailto:toybox@lists.landley.net">toybox@lists.landley.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">i will admit though, i have no idea why this code is using inotify in<br>
the first place. what's the benefit over select/poll?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><span style="font-family:sans-serif">Don't select/poll always return readable, since if you're at the end of a file, read will return 0?</span></div></div>