Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

tv_sec in sys/time.h (Developers)

posted by david(R), 21.07.2013, 12:56

struct fd_set rfds;
FD_SET(0, &rfds);
struct timeval tv;
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,



Complete thread:

Back to the forum
Board view  Mix view
15297 Postings in 1378 Threads, 254 registered users, 13 users online (1 registered, 12 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum