I am very new to C and I have the following code where I want to double the timeval, how can I do this?
#include <time.h>
struct timeval t ={1, 10000};
while(1){
//some code to use timeval
Here I need to double the timeval. Meaning if the timeval was 1.1 seconds, I need to make t = 2.2
seconds.
}