FILE *infile;
int int_file; int_file=open("/var/log/squid/access.log",O_RDONLY);
infile=fdopen(int_file,"r");
fd_set rfds;
struct timeval tv;
int retval;
FD_ZERO(&rfds);
FD_SET(int_file,&rfds);
tv.tv_sec=40;
tv.tv_usec=100;
retval=select(1,&rfds,NULL,NULL,&tv);
...
Почему select не реагирует на изменение access.log