File: TeradataTest.c

package info (click to toggle)
tora 2.1.3-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 27,840 kB
  • ctags: 22,156
  • sloc: cpp: 191,995; sh: 17,549; makefile: 702; python: 159; ansic: 75; xml: 69
file content (19 lines) | stat: -rwxr-xr-x 420 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include <stdlib.h>

#include <coptypes.h>       /* Teradata include files */
#include <coperr.h>
#include <dbcarea.h>
#include <parcel.h>
#include <dbchqep.h>

int main(int c, char **v) {
    static Int32  result;
    static char   cnta[4];
    struct DBCAREA *dbcp;

    dbcp = (DBCAREA *) malloc(sizeof(struct DBCAREA));
    dbcp->total_len = sizeof(struct DBCAREA);
    DBCHINI(&result,cnta, dbcp);

    return 0;
}