Home
last modified time | relevance | path

Searched refs:slashp (Results 1 – 2 of 2) sorted by relevance

/dragonfly/usr.bin/apply/
H A Dapply.c59 char *c, *cmd, *name, *p, *q, *shell, *slashp, *tmpshell; in main() local
116 slashp = strrchr(shell, '/'); in main()
117 name = (slashp != NULL) ? slashp + 1 : shell; in main()
/dragonfly/usr.sbin/zic/
H A Dzic.c1678 char * slashp; in doabbr() local
1681 slashp = strchr(format, '/'); in doabbr()
1682 if (slashp == NULL) { in doabbr()
1687 strcpy(abbr, slashp + 1); in doabbr()
1689 if (slashp > format) in doabbr()
1690 strncpy(abbr, format, slashp - format); in doabbr()
1691 abbr[slashp - format] = '\0'; in doabbr()