hdf_set_buf (3) - Linux Man Pages

hdf_set_buf: Set the value of a node without duplicating

NAME

hdf_set_buf - Set the value of a node without duplicating the value

SYNOPSIS

#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

DESCRIPTION

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