Searched refs:initfdflags (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/pppoecd/
H A Dsys-linux.c82 static int initfdflags = -1; /* Initial file descriptor flags for fd */ variable
358 initfdflags = fcntl(fd, F_GETFL);
359 if (initfdflags == -1 ||
360 fcntl(fd, F_SETFL, initfdflags | O_NONBLOCK) == -1) {
398 initfdflags = -1;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/
H A Dsys-linux.c173 static int initfdflags = -1; /* Initial file descriptor flags for fd */ variable
516 initfdflags = fcntl(fd, F_GETFL);
517 if (initfdflags == -1 ||
518 fcntl(fd, F_SETFL, initfdflags | O_NONBLOCK) == -1) {
571 if (initfdflags != -1 && fcntl(tty_fd, F_SETFL, initfdflags) < 0) {
577 initfdflags = -1;
/netgear-R7000-V1.0.7.12_1.2.5/src/router/ppp/pppd/
H A Dsys-linux.c121 static int initfdflags = -1; /* Initial file descriptor flags for fd */ variable
435 initfdflags = fcntl(fd, F_GETFL);
436 if (initfdflags == -1 ||
437 fcntl(fd, F_SETFL, initfdflags | O_NONBLOCK) == -1) {
518 initfdflags = -1;
560 if (initfdflags != -1 && fcntl(tty_fd, F_SETFL, initfdflags) < 0) {

Completed in 86 milliseconds