Ya pueden cerrar este tema ya lo logre...
me faltaba el rewind.....
perdonenme por molestar......
asi me quedo....
Código Finregistro:
Ver originalvoid registro(char *palAdiv){
FILE *reg;
char *name;
char line[1000];
char *pline;
char *line2;
time_t tiempo;
char cad[80];
struct tm *tmPtr;
tiempo = time(NULL);
tmPtr = localtime(&tiempo);
strftime( cad, 80, "%H:%M.%S, %A de %B de %Y", tmPtr );
if((reg=fopen("registro.txt", "a+"))==NULL){
printf("NO SE ABRIO\n");
}
else{
printf("Nombre: ");
fflush(stdin);
gets(name);
line2=asctime(tmPtr);
printf("%s\n",line2);
fprintf(reg,"Nombre: %s Palabra: %s Hora y Fecha: %s\n",name,palAdiv,line2);
fflush(reg);
rewind(reg);
getch();
do{
pline=fgets(line,1000,reg);
if(pline!=NULL||!feof(reg)){printf("%s\n",pline);}
}while(pline!=NULL||!feof(reg));
getch();
fclose(reg);
}
}