mirror of
https://github.com/debauchee/barrier.git
synced 2026-02-10 13:45:49 +08:00
return 0 when O_NDELAY is set and there is nothing to read. We want the O_NONBLOCK behavior where read returns -1 and sets errno to EAGAIN when there is nothing to read.
19 KiB
19 KiB