time_t timefunc(time_t *ptr); void settime(int y, int m, int d, int H, int M, int S); time_t nowtime;