Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/basename/
H A Dbasename.c48 char *suf_pat; in main() local
130 suf_pat = malloc(suf_len); in main()
131 if (suf_pat == NULL) { in main()
136 suf_pat = suf_buf; in main()
138 (void) strcpy(suf_pat, "\\(.*\\)"); in main()
139 (void) strcpy(suf_pat + 6, suffix); in main()
140 *(suf_pat + suf_len - 1 - 1) = '$'; in main()
141 *(suf_pat + suf_len - 1) = '\0'; in main()
143 r = regcomp(&reg, suf_pat, 0); in main()
147 suf_pat); in main()
[all …]