* Frédéric Bérat: > I also tested the following: > char s[3] = ""; > fgets (s, 2, FILE); > ungetc (s[1], FILE); > fflush (FILE); > pos = lseek (SEEK_CUR); > > Which gives a `pos` value of 2. What's the file contents at this point, and where does fgets start reading? Thanks, Florian