mmap with 64 bit offset on 32 bit system

Hein Roehrig (
Tue, 28 Jan 1997 21:55:23 +0100 (MET)


I am writing a device driver for a device which needs 64-bit wide
seeks even on 32-bit platforms. This is more or less ok for read/write
using llseek, but I am seeking your advice on how to do a mmap with a
64-bit offset.

Are there any plans to give the 32-bit Linux versions 64-bit file
operations in general? This would also be an issue for asynchronous


Hein Roehrig

-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/M d- s+:- a-- C++> UL+ P+ L++>++++ E+ W+ N++ o? K? w++$ O M V- PS PE Y+ PGP>+ t 5 X? R- !tv b++ DI+ D+ G e++ h+ r- y? ------END GEEK CODE BLOCK------