diff options
author | Rob Landley <rob@landley.net> | 2016-01-28 22:10:06 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-01-28 22:10:06 -0600 |
commit | 4a13ca98e18cea4acc8d605653d0ee8425e34f59 (patch) | |
tree | 42acd4e80890a5eab8df308c988f7bcf8dc87494 /lib/net.c | |
parent | 852740618edc876ac7416e18c2f92f78707cd708 (diff) | |
download | toybox-4a13ca98e18cea4acc8d605653d0ee8425e34f59.tar.gz |
Add SIGWINCH support to top, and implement -o and -n in pgrep/pkill.
Diffstat (limited to 'lib/net.c')
-rw-r--r-- | lib/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -49,6 +49,7 @@ int xpoll(struct pollfd *fds, int nfds, int timeout) for (;;) { if (0>(i = poll(fds, nfds, timeout))) { + if (toys.signal) return i; if (errno != EINTR && errno != ENOMEM) perror_exit("xpoll"); else if (timeout>0) timeout--; } else return i; |