. <stdio> usually requires an fseek() when switching between read <--> write modes on a file opened in any of the "+" modes. This is to insure that the buffer pointers are set up properly. Jim Macropol {ihnp4,trwrb,scgvaxd,vortex}!wlbr!jm