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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Dgetspent_r.c186 size_t lencopy; local
192 lencopy = (size_t)lenstr;
195 lencopy = p - instr;
198 if (lencopy + 1 > buflen) {
204 (void) memmove(buffer, instr, lencopy);
205 buffer[lencopy] = 0;
/illumos-gate/usr/src/lib/passwdutil/
H A Dswitch_utils.c527 int lencopy, black_magic; local
533 lencopy = lenstr;
536 lencopy = p - instr;
539 if (lencopy + 1 > buflen) {
542 (void) memcpy(buffer, instr, lencopy);
543 buffer[lencopy] = 0;

Completed in 88 milliseconds