I've come across source code where the fseek() or the rewind() function is called, and the stream argument is a terminal. What would be the point of that? -- Jean-Pierre Radley jpr at jpradley.uucp New York, NY 72160.1341 at compuserve.com