Sender: rich AT phekda DOT freeserve DOT co DOT uk Message-ID: <3E036E6B.25B5FC5F@phekda.freeserve.co.uk> Date: Fri, 20 Dec 2002 19:24:27 +0000 From: Richard Dawe X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.23 i586) X-Accept-Language: de,fr MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: seek'ing a solution References: <10212192341 DOT AA17005 AT clio DOT rice DOT edu> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Charles Sandmann wrote: > we have lseek and llseek, which are identical except the fs_ext call to > lseek or llseek, and if they return long or long long. It seems the > sane thing to do would be to make a common piece of code (for example, > have lseek call llseek..). Both are called in each image. [snip] > I'm thinking of a _seek() primative which wraps the core interrupt > call (sets registers, call dpmi_int, errno handling, return). > Thoughts? That sounds like a good plan. Bye, Rich =] -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]