FreeBSD/contrib/ntp/libntp/ntp_calendar.c
/*
 *---------------------------------------------------------------------
 * Convert elapsed days and the hour/minute/second information into
 * total seconds.
 *
 * If 'isvalid' is not NULL, do a range check on the time specification
 * and tell if the time input is in the normal range, permitting for a
 * single leapsecond.
 *---------------------------------------------------------------------
 */
Convert elapsed days and the hour/minute/second information into
total seconds.

If 'isvalid' is not NULL, do a range check on the time specification
and tell if the time input is in the normal range, permitting for a
single leapsecond.
Convert elapsed days and the hour / minute / second information into total seconds . If ' isvalid ' is not NULL do a range check on the time specification and tell if the time input is in the normal range permitting for a single leapsecond .
int32_t
ntpcal_etime_to_seconds(
	int32_t hours,
	int32_t minutes,
	int32_t seconds
	)
{
	int32_t res;
	res = (hours * MINSPERHR + minutes) * SECSPERMIN + seconds;
	return res;
}
int32_t ntpcal_etime_to_seconds ( int32_t hours , int32_t minutes , int32_t seconds ) { int32_t res ; res = ( hours * MINSPERHR + minutes ) * SECSPERMIN + seconds ; return res ; }
Convert elapsed days and the hour/minute/second information into
 total seconds.
Convert elapsed days and the hour / minute / second information into total seconds .