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

Vsetattr/vfsnatt/vfscatt

intn Vsetattr(int32 vgroup_id, char *attr_name, int32 data_type, int32 count, VOIDP values)
vgroup_id

IN:

Vgroup identifier returned by Vattach

attr_name

IN:

Name of the attribute

data_type

IN:

Data type of the attribute

count

IN:

Number of values the attribute contains

values

IN:

Buffer containing the attribute values

Purpose

Attaches an attribute to a vgroup.

Return value

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

Description

If the attribute already exists, the new values will replace the current ones, provided the data type and order have not been changed. If either the data type or the order have been changed, Vsetattr will exit on an error condition.

FORTRAN

integer vfsnatt(vgroup_id, attr_name, data_type, count, values)

integer vgroup_id, data_type, count

<valid numerical type> values

character* (*) attr_name

integer vfscatt(vgroup_id, attr_name, data_type, count, values)

integer vgroup_id, data_type, count

character* (*) attr_name, values



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

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