Get GSD item by number
This routine looks up the GSD item
specified by its number and returns the name of the item. This routine also returns the
unit string, the type specification and the array flag.
int gsdItem( void
itemno, char name,
char unit, char
The GSD file descriptor related to the file opened on fptr.
The array of GSD item descriptors related to the file opened on fptr.
The buffer with all the data from the GSD file opened on fptr.
int itemno (Given)
The number of the item in the GSD file.
The name of the item. This should be an array of 16 characters (char name) and will be a null-terminated string.
char unit (Returned)
The unit of the item. This should be an array of 11 characters (char name) and will be a null-terminated
The data type of the item. This is a single character and one of B, L, W, I, R, D, C.
The array flag. This is a single character and true (false) if the item is (is not) and array.
available via #include "gsd.h"
(C) 1986-1999 Particle Physics and Astronomy Research Council. All Rights Reserved.