Home | History | Annotate | Download | only in utils

Lines Matching refs:links

21 		"link   Zero or more links to check against, the order of\n\t"
23 " 1) An exact match for the real path (if no links), or\n\t\t"
24 " 2) An exact match for any of the links (aliases), or\n\t\t"
58 char **links = NULL;
91 /* Count links */
96 links = calloc(num_links + 1, sizeof(char *));
98 if (!links) {
105 links[num_links] = malloc(string_len);
106 if (!links[num_links]) {
110 strcpy(links[num_links], argv[i]);
127 (const char **)links, mode);
130 (const char **)links, mode);
155 if (links) {
156 for (i = 0; links[i]; i++)
157 free(links[i]);
158 free(links);