[Top] [Prev] [Next] [Bottom]

Vattrinfo/vfainfo

intn Vattrinfo(int32 vgroup_id, intn attr_index, char *attr_name, char *data_type, intn *count, intn *size)
vgroup_id

IN:

Vgroup identifier returned by Vattach

attr_index

IN:

Index of the target attribute

attr_name

OUT:

Name of the target attribute

data_type

OUT:

Data type of the target attribute

count

OUT:

Number of values in the target attribute

size

OUT:

Size, in bytes, of the values of the target attribute

Purpose

Returns the name, data type, number of values, and the size of the values of the specified attribute of the specified vgroup identified by vgroup_id and attr_index.

Return value

Returns SUCCEED (or 0) if successful and FAIL (or -1) otherwise.

Description

The values of the attr_name, data_type, count and size parameters can be set to NULL, if the information returned by these parameters are not needed.

The value of attr_index parameter is used as the index of the target vgroup attribute, and is zero-based. For example, a attr_index value of 4 would refer to the fifth attribute of the vgroup.

FORTRAN

integer function vfainfo(vgroup_id, attr_index, attr_name, data_type, count, size)

integer vgroup_id, attr_index, data_type, count, size

character* (*) attr_name



[Top] [Prev] [Next] [Bottom]

hdfhelp@ncsa.uiuc.edu
HDF User's Reference Manual, Draft 06/09/97, NCSA HDF Development Group.