Searched refs:fd_max (Results 1 – 2 of 2) sorted by relevance
161 int fd_max = create_signal_fds(&input); in userial_read_thread() local162 fd_max = (fd_max>userial_cb.fd[CH_EVT]) ? fd_max : userial_cb.fd[CH_EVT]; in userial_read_thread()163 fd_max = (fd_max>userial_cb.fd[CH_ACL_IN]) ? fd_max : userial_cb.fd[CH_ACL_IN]; in userial_read_thread()167 n = select(fd_max+1, &input, NULL, NULL, NULL); in userial_read_thread()
154 int fd_max = create_signal_fds(&input); in select_read() local155 fd_max = fd_max > fd ? fd_max : fd; in select_read()158 n = select(fd_max+1, &input, NULL, NULL, NULL); in select_read()