OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:pollfds
(Results
1 - 4
of
4
) sorted by null
/external/mtpd/
mtpd.c
156
struct pollfd
pollfds
[3];
local
184
pollfds
[0].fd = the_socket;
185
pollfds
[0].events = POLLIN;
186
pollfds
[1].fd = signals[0];
187
pollfds
[1].events = POLLIN;
188
pollfds
[2].fd = control;
189
pollfds
[2].events = 0;
192
if (poll(
pollfds
, 3, timeout ? timeout : -1) == -1 && errno != EINTR) {
196
if (
pollfds
[1].revents) {
199
if (
pollfds
[2].revents)
[
all
...]
/external/ipsec-tools/
main.c
135
static struct pollfd
pollfds
[10];
variable in typeref:struct:pollfd
176
if (poll(
pollfds
, monitor_count, timeout) > 0) {
179
if (
pollfds
[i].revents & POLLHUP) {
180
do_plog(LLV_ERROR, "Connection is closed\n",
pollfds
[i].fd);
183
if (
pollfds
[i].revents & POLLIN) {
184
monitors[i].callback(monitors[i].ctx,
pollfds
[i].fd);
202
pollfds
[monitor_count].fd = fd;
203
pollfds
[monitor_count].events = callback ? POLLIN : 0;
/bionic/libc/bionic/
system_properties.c
160
struct pollfd
pollfds
[1];
local
194
pollfds
[0].fd = s;
195
pollfds
[0].events = 0;
196
r = TEMP_FAILURE_RETRY(poll(
pollfds
, 1, 250 /* ms */));
197
if (r == 1 && (
pollfds
[0].revents & POLLHUP) != 0) {
/external/ppp/pppd/
sys-solaris.c
228
static struct pollfd
pollfds
[MAX_POLLFDS];
variable in typeref:struct:pollfd
[
all
...]
Completed in 65 milliseconds