Searched refs:s1_p1_len (Results 1 – 1 of 1) sorted by relevance
502 int s1_p1_len, s2_p1_len; local506 s1_p1_len = s1_p2 - s1; /* the prefix length is the difference in pointers */509 s1_p1_len = strlen(s1); /* the prefix length is the length of the string itself */519 …strncpy(str1, s1, (s1_p1_len > sizeof(str1)) ? s1_p1_len : sizeof(str1)); *(str1 + s1_p1_len) = …