hdf_get_copy(3)

hdf_get_copy3

Returns a copy of a string in the hdf data set

Usage

#include <util/neo_hdf.h>
NEOERR* hdf_get_copy (HDF *hdf, const char *name, char **value,
                      const char *defval);

Arguments

hdf -> the dataset node to start from
name -> the name to walk the data set to
defval -> the default value to return if the node doesn't
exist

Overview

hdf_get_copy is similar to hdf_get_value, except that it returns an malloc'd copy of the string.

Return value

value -> the allocated string (if defval = NULL, then value
will be NULL if defval is used)

Releases

10 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0–13

From clearsilver-dev 0.10.5-6+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.