Programmer Guide > Creating an OPI Option > wsdh_tagname
  

wsdh_tagname
Gets the name of a PV‑WAVE structure variable tag.
C Usage
char *wsdh_tagname(wsdh, N)
WSDH wsdh;
long N;
FORTRAN Usage
INTEGER*4 LF_WSDH_TAGNAME(l_wsdh, N, string)
INTEGER*4 l_wsdh
INTEGER*4 N
CHARACTER*31 string
64-bit UNIX FORTRAN Usage
INTEGER*8 LF_WSDH_TAGNAME(l_wsdh, N, string)
INTEGER*8 l_wsdh
INTEGER*8 N
CHARACTER*31 string
Input Parameters
wsdh—A Wave structure definition handle.
N—The number of the desired tag.
Returned Value—C
Returns name of Nth tag in the structure definition. Tag numbers start at 0.
Returns NULL on failure, if the handle argument is not a valid Wave structure definition handle.
Returned Value - FORTRAN
Fills the string argument with the name of the Nth tag in the structure definition. Tag numbers start at 0.
The function will return –1 on failure, if the handle argument is not a valid Wave structure definition handle.

Version 2017.1
Copyright © 2019, Rogue Wave Software, Inc. All Rights Reserved.