Get name server client version number
#include <sys/types.h>
#include "dpns_api.h"
int dpns_getifcevers (char *version)
dpns_getifcevers gets the name server 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.