Lines Matching defs:contents
4 * The contents of this file are subject to the terms of the
296 char contents[PATH_MAX + 1];
306 linksize = readlink(devpath, contents, PATH_MAX);
311 contents[linksize] = '\0';
315 * if the link contents is not a minor node assume
316 * that link contents is really a pointer to another
317 * link, and if so recurse and read its link contents.
319 if (is_minor_node((const char *)contents, (const char **)&ptr) !=
321 if (strncmp(contents, slashdev, strlen(slashdev)) == 0) {
323 (void) strcpy(stage_link, contents);
334 (void) strcat(stage_link, contents);