hdf_get_int_value (3) - Linux Manuals

hdf_get_int_value: Return the integer value of a point in

NAME

hdf_get_int_value - Return the integer value of a point in the data set

SYNOPSIS

#include <util/neo_hdf.h>

int hdf_get_int_value (HDF *hdf, const char *name, int defval);

ARGUMENTS

hdf -> a node in an HDF data set
name -> the name of a node to walk to in the data set
defval -> value to return in case of error or if the node
doesn't exist

DESCRIPTION

hdf_get_int_value walks the HDF data set pointed to by hdf to name, and returns the value of that node converted to an integer. If that node does not exist, or it does not contain a number, the defval is returned.

RETURN VALUE

None