I tried to do a fseek(stdin , 0 , SEEK_END ) under linux. On windows and solaris this commands cleans the input stream. Under linux I get an error message ilegal seek. Any ideas? Thanx Micha Feigin michf@math.tau.ac.il