Lines Matching refs:copy
16 * I would appreciate (though I do not require) receiving a copy of any
482 char *copy;
490 copy = dupstr(unit);
491 copy[strlen(copy) - 1] = 0;
493 if (!strcmp(unittable[i].uname, copy)) {
494 strlcpy(buffer, copy, sizeof(buffer));
495 free(copy);
499 free(copy);
501 copy = dupstr(unit);
502 copy[strlen(copy) - 1] = 0;
504 if (!strcmp(unittable[i].uname, copy)) {
505 strlcpy(buffer, copy, sizeof(buffer));
506 free(copy);
510 if (copy[strlen(copy) - 1] == 'e') {
511 copy[strlen(copy) - 1] = 0;
513 if (!strcmp(unittable[i].uname, copy)) {
514 strlcpy(buffer, copy, sizeof(buffer));
515 free(copy);
520 free(copy);