mcTBinq — Inquire attributes of key
#include <memcom.h> int mcTBinq(const char* key, char* type, int* size, mcRTable* rt);
mcTBinq
returns the type and size
attributes of a key. The function returns 0 if the key has been
found. If the key does not exist, 1 is returned and the attributes
remain undefined. In case of error a negative value indicating the
MemCom error number is returned.
key
Name of key to be inquired (input).
type
Data type of key (output). Array of characters that
must be at least 4 bytes long. This array must be allocated
by the calling function. Never pass a constant string of the
form " "
!
size
Size, i.e number of elements of key (output).
rt
Pointer to relational table in memory to be inquired (input).