On 6/2/08, James Carlson <james.d.carlson at sun.com> wrote: > Alan Coopersmith writes: > > Richard L. Hamilton wrote: > > >> I can think of three main categories of capacity limits on 32-bit that > > >> might > > >> be higher on 64-bit: > > >> * file size max of 2GB > > >> * register size and usage > > >> * available address space, and therefore amount that can be mmap()'d > > >> at once > > >> (Also, IIRC stdio is supposed to handle > 256 file pointers on 64-bit.) > > > > Yes, the 256 FILE stdio limit is lifted in 64-bit. The other main > > > It's also lifted if you call enable_extended_FILE_stdio(3C), use the > extendedFILE.so.1 preload, or 'F' is used as the last character in the > fopen(3C) mode string.
FYI, enable_extended_FILE_stdio(3C) is incompatible to many applications, including coreutil. Using a FD > 256 crashes such applications. Irek
