Re: Strings

I believe you just allocate array of char pointers, then library does the rest. You only have to use H5Dvlen_reclaim function after you are done. See tvlstr.c test in the test directory.

Elena


At 08:36 PM 9/8/2005, Ed Hartnett wrote:
Elena Pourmal <epourmal@xxxxxxxxxxxxx> writes:

> Hi Ed,
>
> You should be able to use strlen function on each element of your
> array to get a length of  each string.
>
> Elena
>

But I can't do that until I read it.

How do I know how much memory to allocate to read it?

Thanks!

Ed
--
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx

-----------------------------------------------------------------------------------------------
Elena Pourmal, HDF QA, Maintenance and Support Team Leader
NCSA University of Illinois at Urbana-Champaign
605 E. Springfield Ave.
Champaign, IL 61820

epourmal@xxxxxxxxxxxxx
(217)333-0238 (office)
(217)244-1987 (fax)
----------------------------------------------------------------------------------------------