str_getline
while ( rc == 0 && ( line = str_getline( &rbuf )) != NULL ) {
char * str_getline( char **next );