Searched refs:lastchar (Results 1 – 1 of 1) sorted by relevance
208 char *lastchar; in kdb_read() local231 lastchar = cp; in kdb_read()243 if (cp < lastchar) { in kdb_read()244 memcpy(tmpbuffer, cp, lastchar - cp); in kdb_read()245 memcpy(cp-1, tmpbuffer, lastchar - cp); in kdb_read()247 *(--lastchar) = '\0'; in kdb_read()258 *lastchar++ = '\n'; in kdb_read()259 *lastchar++ = '\0'; in kdb_read()267 if (cp < lastchar) { in kdb_read()268 memcpy(tmpbuffer, cp+1, lastchar - cp - 1); in kdb_read()[all …]