NAME

sep_get_key_fmt - get the format of a key


SYNOPSIS

int sep_get_key_fmt(tag_history,key_index,key_fmt)


INPUT PARAMETER

char*-tag_history
        tag of History File
int* -key_index
        Key Index of Header Key


OUTPUT PARAMETER

char* - key_fmt
        Key Name of Header Key


RETURN VALUE

 -1= if fails for other reasons
 0= if successful
 +1= if tag_history is an Sep77 History File
 +2= if tag_history is a Sep3d History File but
      no matching Key Index is in Header Format File


DESCRIPTION

   auxpar from the Header Format File for the parameter hdrfmt"#"
   for a given key_index


SEE ALSO

the sep_get_key_index manpage, the sep_put_key manpage, the sep_get_key_name manpage


LIBRARY

sep3d