Searched refs:lastchar (Results 1 – 1 of 1) sorted by relevance
200 char *lastchar; in kdb_read() local223 lastchar = cp; in kdb_read()233 if (cp < lastchar) { in kdb_read()234 memcpy(tmpbuffer, cp, lastchar - cp); in kdb_read()235 memcpy(cp-1, tmpbuffer, lastchar - cp); in kdb_read()237 *(--lastchar) = '\0'; in kdb_read()248 *lastchar++ = '\n'; in kdb_read()249 *lastchar++ = '\0'; in kdb_read()257 if (cp < lastchar) { in kdb_read()258 memcpy(tmpbuffer, cp+1, lastchar - cp - 1); in kdb_read()[all …]