Connect To Teradata

How do i connect from C program to teradata Database?
The C program is being executed from a Unix script, AIX.
I am calling a C program from a Unix shell script and the C Program executes some SQLs on Teradata Database.

Teradata...is that SAN space you are talking about. Questions with relevant details have the highest probability of being answered so clarify your requirements.

Knowing the location of the storage you are trying to link to would be helpful
If its the interface you are looking for then DBI may help

You can connect to teradata:
using Teradata supplied CLI(Call Level Interface) API in your C program.
Using Teradata PP2 i.e. Enbedded SQL in your C program.