hwlocality_info_attr(3) | Hardware Locality (hwloc) | hwlocality_info_attr(3) |
hwlocality_info_attr
static const char * hwloc_obj_get_info_by_name
(hwloc_obj_t obj, const char *name)
void hwloc_obj_add_info (hwloc_obj_t obj, const char *name,
const char *value)
Add the given info name and value pair to the given object. The info is appended to the existing info array even if another key with the same name already exists.
The input strings are copied before being added in the object infos.
Note:
If value contains some non-printable characters, they will be dropped when exporting to XML, see hwloc_topology_export_xml().
Search the given key name in object infos and return the corresponding value. If multiple keys match the given name, only the first one is returned.
Returns:
Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.
Fri Feb 8 2019 | Version 1.11.12 |