Lines Matching refs:tv_sec
312 tvp->tv_sec = nsec / NANOSEC;
315 if (tvp->tv_sec > tod.tv_sec)
319 tvp->tv_sec = tod.tv_sec - tvp->tv_sec;
324 * the result of localtime(&tod.tv_sec) to fill in the rest.
333 bcopy(localtime(&tod.tv_sec), &tm, sizeof (tm));
347 tvp->tv_sec = mktime(&tm);
350 if (tvp->tv_sec == -1L && errno != 0)
358 tvp->tv_sec -= timezone - altzone;