delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/12/20/14:24:36

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 <rich AT phekda DOT freeserve DOT co DOT uk>
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>
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/ ]

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019