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

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.



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

hdfhelp@ncsa.uiuc.edu
HDF Reference Manual - 03/16/98, NCSA HDF Development Group.