Searched refs:l_pref (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/db/log/
H A Dlog_archive.c344 size_t l_pref, l_name; local
350 l_pref = isabspath ? 0 : strlen(pref);
353 if ((ret = __os_malloc(l_pref + l_name + 2, NULL, &newname)) != 0)
359 memcpy(newname, pref, l_pref);
360 if (strchr(PATH_SEPARATOR, newname[l_pref - 1]) == NULL)
361 newname[l_pref++] = PATH_SEPARATOR[0];
363 memcpy(newname + l_pref, name, l_name + 1);

Completed in 72 milliseconds