The `fd` is marked `O_NONBLOCK`, so `write` will never spuriously return `EINTR`. Therefore, `write` failing is permanent, and we can return 0 to make the return value meaningful. |
||
|---|---|---|
| .. | ||
| dnd.c | ||
| incoming.c | ||
| outgoing.c | ||
| selection.c | ||
The `fd` is marked `O_NONBLOCK`, so `write` will never spuriously return `EINTR`. Therefore, `write` failing is permanent, and we can return 0 to make the return value meaningful. |
||
|---|---|---|
| .. | ||
| dnd.c | ||
| incoming.c | ||
| outgoing.c | ||
| selection.c | ||