From: agemoagemo@... Date: 2003-10-31T00:46:20+09:00 Subject: Re: Problem with seeking in existing files. --- Yukihiro Matsumoto wrote: > 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. Win32. What IO commands should be used with append mode? -Morgan. __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/