jsloaddevicenamesunix(3)
NAME
JSLoadDeviceNamesUNIX - UNIX calibration file loading
SYNTAX
#include <jsw.h>
- char **JSLoadDeviceNamesUNIX(
- int *total,
const char *calibration - )
ARGUMENTS
- total Specifies the pointer to a int return value for the total number
- of device names loaded.
- calibration
- Specifies the calibration file.
DESCRIPTION
The JSLoadDeviceNamesUNIX function fetches a list of calibrated devices
found in the specified calibration file.
The returned list of strings and the pointer array must be deallocated
by the calling function.
RETURN VALUE
The JSLoadDeviceNamesUNIX function returns a pointer a dynamically
allocated array of dynamically allocated strings of the size indicated
by the value set to total.
The calling function is responsible for deallocating both the pointer
array and each string.
Can return NULL on error.