Re: Large File Support Standards
From: QNils_O=2E_Sel=E5sdal=22?= (NOS_at_Utel.no)
Date: 08/31/04
- Next message: Norm Dresner: "Re: Reading FIFOs one character at a time"
- Previous message: Carlos: "Re: Getting MAC address"
- In reply to: Michael B Allen: "Large File Support Standards"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 31 Aug 2004 13:50:21 +0200
Michael B Allen wrote:
> On Linux the macros -D_FILE_OFFSET_BITS=64 is required to trigger 64bit
> off_t. But what does -D_LARGEFILE_SOURCE do? It doesn't need to be defined
> on my system to trigger 64but off_t and unlike _FILE_OFFSET_BITS it is
> not defined in the code.
>
> Also, if I need to conditionally compile something based on 64bit
> off_t would I check for _FILE_OFFSET_BITS, or _FILE_OFFSET_BITS > 64,
> or .. what?
http://www.suse.de/~aj/linux_lfs.html
might be helpful.
- Next message: Norm Dresner: "Re: Reading FIFOs one character at a time"
- Previous message: Carlos: "Re: Getting MAC address"
- In reply to: Michael B Allen: "Large File Support Standards"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]