hdf_set_buf(3)

hdf_set_buf3

Set the value of a node without duplicating the value

Usage

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

Arguments

hdf -> the hdf dataset node
name -> the name to walk to
value -> the malloc'd value

Overview

hdf_set_buf is similar to hdf_set_value, except the dataset takes ownership of the value instead of making a copy of it. The dataset assumes that value was malloc'd, since it will attempt to free it when hdf_destroy is called

Return value

None

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.