Provided by: libdpm-dev_1.13.0-1_amd64
dpm_getifcevers - get DPM client version number
#include <sys/types.h> #include "dpm_api.h" int dpm_getifcevers (char *version)
dpm_getifcevers gets the DPM client version number.
version points at a buffer to receive the version number. The buffer must be at least 256 characters long.
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
EFAULT version is a NULL pointer.