Searched refs:prefix_cnt (Results 1 – 1 of 1) sorted by relevance
1622 size_t prefix_cnt = 0; in make_tmpname() local1631 prefix_cnt = slash - filename + 1; in make_tmpname()1632 tmpname = malloc(prefix_cnt + MSG_STR_MKTEMP_SIZE + 1); in make_tmpname()1639 if (prefix_cnt > 0) in make_tmpname()1640 (void) strncpy(tmpname, filename, prefix_cnt); in make_tmpname()1641 (void) strcpy(tmpname + prefix_cnt, MSG_ORIG(MSG_STR_MKTEMP)); in make_tmpname()