get_lt_time - Retrieves time field from the labeled table (LT)

SYNTAX

#include "ltable.h"

FUNCTION get_lt_time (vec,time)

     struct VECTOR      *vec;
     struct LT_TIME     *time;

PARAMETERS

vec (Input/Output, struct VECTOR)

Pointer to a structure defining a field within an LT logical record. Note that vec the linked list defining the LT record.

time (Output, struct LT_TIME)

The time read from the LT.

DESCRIPTION

The get_lt_date() routine reads the date field from the labeled table and returns it to the application program in a structure. The structure is defined to be:

     struct LT_TIME
       {
       long hour;
       long minute;
       long second;
       }
It is assumed the time is stored as an ASCII string within the labeled table I/O buffer with the following format:
     hr:min:sec
Error checking is not done to ensure the time is valid.

RETURN VALUE

get_lt_time() has no return values.

SPECIAL CONSIDERATIONS:

The get_lt_time() call is for C only.