Lines Matching defs:alias
217 char *entry; /* Pointer to alias in record */
259 * - Free the alias list
279 * it returns the device name (not the alias).
282 * devtabentry The device alias that may or may not belong in the
294 char **aliases, /* List of alias of those devices */
656 * a device couldn't be found, that alias will be "". There
675 char *alias; /* Alias of current device */
688 /* Get space for the alias list */
691 /* Build the alias list */
695 /* Get the device's alias and put it in the list */
696 if (alias = devattr(*pp, DTAB_ALIAS)) *qq++ = alias;
699 if (alias = malloc(strlen("")+1))
700 *qq++ = strcpy(alias, "");
760 * Returns the alias of that device.
768 * A pointer to a malloc()ed string containing the alias of the next
777 char *alias; /* Alias of device found */
784 * - No alias yet
789 alias = NULL;
804 if (alias = malloc(strlen(devtabent->alias)+1))
805 (void) strcpy(alias, devtabent->alias);
822 if (alias = malloc(strlen(devtabent->alias)+1))
823 (void) strcpy(alias, devtabent->alias);
833 /* Return pointer to extracted alias (or NULL if none) */
834 if ((alias == NULL) && noerror) errno = ENOENT;
835 return (alias);
880 failed = !matches(ent->alias, p->cmp, p->fcn);
980 matched = matches(ent->alias, p->cmp, p->fcn);