tornando ala funzione strtok() puoi farlo così:
codice:
#include <stdio.h>
#include <string.h>
int main ()
{
char stringa[]="Avviso,16/08/2006,17.00.25,Service Control Manager,Nessuno,7038,N/D,nome-mio-pc";
char *tipo,*data,*ora,*origine,*categoria,*evento,*utente,*computer;
tipo=strtok(stringa,",");
data=strtok(NULL,",");
ora=strtok(NULL,",");
origine=strtok(NULL,",");
categoria=strtok(NULL,",");
evento=strtok(NULL,",");
utente=strtok(NULL,",");
computer=strtok(NULL,",");
printf("\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s",tipo,data,ora,origine,categoria,evento,utente,computer);
getchar();
}