From: matz@... (Yukihiro Matsumoto) Date: 2003-10-30T17:34:10+09:00 Subject: Re: Problem with seeking in existing files. Hi, In message "Problem with seeking in existing files." on 03/10/30, agemoagemo@yahoo.com writes: |I'm trying to write a program that will be writing |data to an existing file, that will not necessarily be |done in the physical file order. I used mode 'ab+' to |open the file, as only the 'a' modes allow writing |without changing the existing file. I am using sysread |and syswrite to work with the file. I don't know what platform you are working on. But in general, stdio does not work well with "a" (append) mode and seeking. It's stdio restriction. matz.