Guest User

Untitled

a guest
Jul 16th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. fd_set rfds;
  2.  
  3. FD_ZERO(&rfds);
  4. FD_SET(your_input_fd, &rfds);
  5.  
  6. int retval = select(your_input_fd + 1, &rfds, NULL, NULL, NULL);
Add Comment
Please, Sign In to add comment