[Back to Interface]
[Prev]
[Next]
Htrunc
int32 Htrunc(int32
h_id
, int32
trunc_len
)
h_id
IN:
Access identifier returned by
Hstartread
or
Hnextread
trunc_len
IN:
Length to truncate element
Purpose
Truncates the data object specified by the
h_id
to the length
trunc_len
.
Return value
Returns the length of a data element if found and FAIL (or -1) otherwise.
Description
Htrunc
does not handle special elements.
[Back to Interface]
[Prev]
[Next]
hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 05/19/99, NCSA HDF Development Group.