i've been some post around trying to know how fgets and the most of the people use readLine ..

my prob comes because i dont want to get the full line ..

i've made a seek inside a text file and now i need to grab ONLY the last 20 chars inside the file

in C i make it with fgets

char ruta[20];

kidboot=fopen("/dos/config.txt","r"); --> cambio.open(QIODevice::ReadOnly | QIODevice::Text);

fseek(kidboot,66,SEEK_SET); --> cambio.seek(66);

fgets(ruta,20,kidboot); --> ?????????????? HOW DO I READ THIS IN QT) so i get only the LAST 20bytes ????????????

greets