#include <stdio.h>
#include <sys/time.h>
/*
struct timeval {
long tv_sec; // seconds
long tv_usec; // microseconds
};
*/
int main(void) {
struct timeval tv;
gettimeofday(&tv, NULL);
printf("%ld %ld", tv.tv_sec, tv.tv_usec);
}
/*
run:
1646826152 811797
*/