From: Martin Str|mberg Newsgroups: comp.os.msdos.djgpp Subject: Re: Support for files > 2 GB Date: 10 Oct 2000 19:20:45 GMT Organization: University of Lulea, Sweden Lines: 26 Message-ID: <8rvq6d$me1$1@news.luth.se> References: <8rsoa3$ao0$1 AT info DOT nask DOT pl> <8rsouj$ecp$1 AT antares DOT lu DOT erisoft DOT se> <8rve0q$l7k$1 AT info DOT nask DOT pl> X-Trace: news.luth.se 971205645 22977 130.240.16.18 (10 Oct 2000 19:20:45 GMT) X-Complaints-To: abuse AT luth DOT se User-Agent: tin/pre-1.4-981225 ("Volcane") (UNIX) (SunOS/4.1.4 (sun4m)) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Wojciech Galazka wrote: : Martin Stromberg wrote <8rsouj$ecp$1 AT antares DOT lu DOT erisoft DOT se>... :>Wojciech Galazka (wojciech DOT galazka AT polkomtel DOT com DOT pl) wrote: :>: Hi, :> :>: Is there a way for DJGPP to support files larger than 2 GB? :> :>Yes. Get the latest CVS version from delorie.com. It's alpha code; :>you've been warned. :> : I got it but I cannot find the relevant code. How is actually reading from : such a biig file made? Is there any sort of interface to MSDOS calls ? Just open the files as usual. If you don't want to get confused with negative values from lseek() use llseek() instead. Note that the biggest file size on FAT32 (and *DOZE) is 4Gi - 2 bytes. Oh! And if you find some bugs, tell us! Right, MartinS