>>yes you are right, so get back to the first question how could I know number of bytes read by FGETS?
>
>You cannot and even if you could the problem of the split will be the same.
the split problem will not exist with FGETS because we are reading till crriage return found, so we are safe.
but you are saying no way to know how if fgets read the whole 8192 bytes or less, no work around this??
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement