Searched refs:duplink (Results 1 - 1 of 1) sorted by relevance

/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c2458 struct di_devlink *duplink; local
2465 if ((duplink = calloc(1, sizeof (struct di_devlink))) == NULL) {
2469 duplink->rel_path = strdup(devlink->rel_path);
2470 duplink->abs_path = strdup(devlink->abs_path);
2471 duplink->content = strdup(devlink->content);
2472 duplink->type = devlink->type;
2474 if (!devlink_valid(duplink)) {
2475 (void) di_devlink_free(duplink);
2480 return (duplink);

Completed in 28 milliseconds