getsocpath
static void getsocpath(char *, int *);
(void) getsocpath(devpath, (int *)&devcnt);
getsocpath(devpath, devcnt);