c_cvtime - Convert a time in hours, minutes, and seconds to total seconds

SYNTAX

FUNCTION c_cvtime(tsec, hour, min, sec)

     long	*tsec;
     long	*hour;
     long	*min;
     long	*sec;

PARAMETERS

tsec (long *, output)

The time of day in total seconds.

hour (long *, input)

The hour of the day.

min (long *, input)

The minutes.

sec (long *, input)

The seconds.

DESCRIPTION

The c_cvtime() routine is used to calculate the time of day in total seconds (tsec) from the hours, minutes, and seconds using the following formula:

     total seconds = (hour * 3600) + (min * 60) + sec

RETURN VALUE

c_cvtime() has no return value.