Split a string into multiple nul-terminated lines. Definition at line 327 of file scrobbler.c. 00328 { 00329 unsigned int i; 00330 00331 for (i = 0; i < nlines; i++) { 00332 /* Keep track of the line */ 00333 lines[i] = str; 00334 00335 /* 00336 * If we haven't finished processing the string, move it 00337 * on to the next line. 00338 */ 00339 if (str != NULL) { 00340 str = strchr(str, '\n'); 00341 if (str != NULL) 00342 *str++ = '\0'; 00343 } 00344 } 00345 }
Here is the caller graph for this function:
![]() |
1.6.3