Hi.
am using fgets() to read lines from a text file.
the file is being updated after a few seconds.
i want to read and process the last appended line at the end of the file.
i tried the following:
while(true){ //infinite loop
if(fgets(line,size,fp)!=NULL)
process line.
}
plz help.