PIO  2.5.4
Functions
Learn Aboue a Data Type

Learn the length of a data type in C. More...

Functions

int PIOc_inq_type (int ncid, nc_type xtype, char *name, PIO_Offset *sizep)
 Learn the name and size of a type. More...
 

Detailed Description

Learn the length of a data type in C.

Function Documentation

◆ PIOc_inq_type()

int PIOc_inq_type ( int  ncid,
nc_type  xtype,
char *  name,
PIO_Offset sizep 
)

Learn the name and size of a type.

Parameters
ncidthe ncid of the open file.
xtypethe type to learn about
namepointer that will get the name of the type.
sizeppointer that will get the size of the type in bytes.
Returns
0 for success, error code otherwise.
Author
Ed Hartnett