nc_attname returns the attribute name.
Return Value
ssName
Parameters
Identifies the netCDF file.
varid is the variable ID of the variable to which the attribute will be assigned, or -1 for a global attribute.
attnum is the attribute number.
See also
id-487124