Poster of Linux kernelThe best gift for a Linux geek
PGAGetDataType

PGAGetDataType

Section: PGAPack (8) Updated: 05/01/95
Local index Up
 

NAME

PGAGetDataType - Returns the data type used by the given context.  

INPUT PARAMETERS

ctx
- context variable
 

OUTPUT PARAMETERS

none

 

SYNOPSIS

#include "pgapack.h"
int  PGAGetDataType(ctx)
PGAContext *ctx
 

LOCATION

pga.c  

EXAMPLE

Example:
PGAContext *ctx;
int datatype;
:
datatype = PGAGetDataType(ctx);
switch (datatype) {
case PGA_DATATYPE_BINARY:
printf("Data Type = PGA_DATATYPE_BINARY);
break;
case PGA_DATATYPE_CHARACTER:
printf("Data Type = PGA_DATATYPE_CHARACTER);
break;
case PGA_DATATYPE_INTEGER:
printf("Data Type = PGA_DATATYPE_INTEGER);
break;
case PGA_DATATYPE_REAL:
printf("Data Type = PGA_DATATYPE_REAL);
break;
case PGA_DATATYPE_USER:
printf("Data Type = PGA_DATATYPE_USER);
break;
}


 

Index

NAME
INPUT PARAMETERS
OUTPUT PARAMETERS
SYNOPSIS
LOCATION
EXAMPLE

This document was created by man2html, using the manual pages.
Time: 22:02:08 GMT, April 16, 2011