libiio
0.7
Library for interfacing with IIO devices
|
Functions | |
__api void | iio_library_get_version (unsigned int *major, unsigned int *minor, char git_tag[8]) |
Get the version of the libiio library. More... | |
__api void | iio_strerror (int err, char *dst, size_t len) |
Get a string description of an error code. More... | |
__api void iio_library_get_version | ( | unsigned int * | major, |
unsigned int * | minor, | ||
char | git_tag[8] | ||
) |
Get the version of the libiio library.
major | A pointer to an unsigned integer (NULL accepted) |
minor | A pointer to an unsigned integer (NULL accepted) |
git_tag | A pointer to a 8-characters buffer (NULL accepted) |
__api void iio_strerror | ( | int | err, |
char * | dst, | ||
size_t | len | ||
) |
Get a string description of an error code.
err | The error code |
dst | A pointer to the memory area where the NULL-terminated string corresponding to the error message will be stored |
len | The available length of the memory area, in bytes |