delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/01/06/07:48:47

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3A571924.6D5F1494@phekda.freeserve.co.uk>
Date: Sat, 06 Jan 2001 13:09:56 +0000
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.17 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: DJGPP workers <djgpp-workers AT delorie DOT com>
Subject: FSEXTs and llseek()
Reply-To: djgpp-workers AT delorie DOT com

Hello.

I've just been reading about __FSEXT_llseek. 'offset_t' is described as
being a 'long long'. This is OK for the input arguments to __FSEXT_llseek,
but how do you return the offset to the caller? The return value variable
for the FSEXT handler function is only an 'int'. I think it should be a
'long long'.

Bye, Rich =]

-- 
Richard Dawe
[ mailto:richdawe AT bigfoot DOT com | http://www.bigfoot.com/~richdawe/ ]

- Raw text -


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