void busca_log_por_faixa_cep(int cepmin, int cepmax, FILE *flog, char* cidade) {
fseek(flog, 0, SEEK_SET);
char linha[1024];
char a[50];
char *ptaux_linha = NULL;
char delimitador[3] = ";";
char *pedaco = NULL, *delimit;
delimit = delimitador;
// Descarta 1% linha
fgets(linha, 1024, fcid);
while (!feof(flog)) {
fgets(linha, 1024, flog);
ptaux_linha = linha;
pedaco = strsep(&ptaux_linha, delimit);
int cep = atoi(pedaco);
if(cep >= cepmin && cep <= cepmax){