I am using the function to determine the attributes defined under context and devices.
I am using the command
|__api int iio_context_get_attr||(||const struct iio_context *||ctx,|
|const char **||name,|
|const char **||value|
for getting the name and value of the attribute for the given index. The return value of the function shows a success in reading the values. When I try to print the values of char** it always shows me a segmentation fault (core dumped), I have also tried various methods to read char** given in other forums.
Can someone help me with this? Thank You