tv_sec in sys/time.h (Developers)
struct fd_set rfds;
    memset(&rfds,0,sizeof(fd_set));
    FD_ZERO(&rfds);
    FD_SET(0, &rfds);
    struct timeval tv;
    tv.tv_sec=0;
    tv.tv_usec=0;
    int i=select(1,&rfds,NULL,NULL,&tv);
Hello, Can I ask You about part of code? I have #include <sys/time.h> and compiler writes err
storage size tv isn`t know, How I can right declare tv ? Thank You for any idea,
David
Complete thread:
- tv_sec in sys/time.h - david, 21.07.2013, 12:56 ![Open in board view [Board]](img/board_d.gif) ![Open in mix view [Mix]](img/mix_d.gif) - tv_sec in sys/time.h - bocke, 21.07.2013, 18:12
- tv_sec in sys/time.h - Tito, 01.08.2013, 03:23- tv_sec in sys/time.h - david, 12.08.2013, 14:23
 
 
 Board view
Board view Mix view
Mix view