resolve_link
(void) resolve_link(devlink, NULL, NULL, &devfs_path, 0);
if (resolve_link(devpath, NULL, NULL, NULL, 1) == TRUE) {
(void) resolve_link(devlink, NULL, NULL, &path, 0);
if (resolve_link(devlink, &raw_contents, &type, NULL, 1) == TRUE) {
return (resolve_link(stage_link, NULL, NULL, devfs_path,
static int resolve_link(char *devpath, char **content_p, int *type_p,