version 1.18, 2019/06/28 13:35:03 |
version 1.19, 2020/11/24 16:54:44 |
|
|
|
|
/* Poll and check for all possible errors. */ |
/* Poll and check for all possible errors. */ |
|
|
if ((c = poll(&pfd, 1, POLL_TIMEOUT)) == -1) { |
if ((c = poll(&pfd, 1, poll_timeout)) == -1) { |
ERR("poll"); |
ERR("poll"); |
return 0; |
return 0; |
} else if (c == 0) { |
} else if (c == 0) { |
|
|
|
|
/* Poll and check for all possible errors. */ |
/* Poll and check for all possible errors. */ |
|
|
if ((c = poll(&pfd, 1, POLL_TIMEOUT)) == -1) { |
if ((c = poll(&pfd, 1, poll_timeout)) == -1) { |
ERR("poll"); |
ERR("poll"); |
return 0; |
return 0; |
} else if (c == 0) { |
} else if (c == 0) { |