parse_selector
if (parse_selector(&selector, &key, &val) == DEVFSADM_FAILURE) {
static int parse_selector(char **selector, char **key, char **val);