Searched refs:delay_flag (Results 1 – 2 of 2) sorted by relevance
657 int delay_flag; in internal_setblocking() local676 delay_flag = fcntl(s->sock_fd, F_GETFL, 0); in internal_setblocking()678 delay_flag &= (~O_NONBLOCK); in internal_setblocking()680 delay_flag |= O_NONBLOCK; in internal_setblocking()681 fcntl(s->sock_fd, F_SETFL, delay_flag); in internal_setblocking()
661 int delay_flag, new_delay_flag; in internal_setblocking() local671 delay_flag = fcntl(s->sock_fd, F_GETFL, 0); in internal_setblocking()672 if (delay_flag == -1) in internal_setblocking()675 new_delay_flag = delay_flag & (~O_NONBLOCK); in internal_setblocking()677 new_delay_flag = delay_flag | O_NONBLOCK; in internal_setblocking()678 if (new_delay_flag != delay_flag) in internal_setblocking()