sensor_info_destroy()

Free the resources that were allocated for a sensor_info_t structure.

Synopsis:

#include <bps/sensor.h>
 
BPS_API int sensor_info_destroy(sensor_info_t *info)

Arguments:

info
The sensor_info_t structure to free.

Library:

libbps

Description:

The sensor_info_destroy() function frees the resources that were allocated for the specified sensor_info_t structure.

Returns:

BPS_SUCCESS upon success, BPS_FAILURE with errno set otherwise.