On 11 June 2010 21:15, Anders Andersson <pipat...@gmail.com> wrote: > Think before posting or blaming. 2GB might be silly now, much as 2MB > was silly 20 years ago. I can't see why it would be extraordinarily > silly to read in/map 2GB from a file 10 years from now. It takes 10 > seconds at most *today*. And to limit your application because people > still use a broken processor architecture sounds a bit windows-y I > think..
The posix spec states that the nbyte argument is of type size_t, which could be extended to 64 bit, making 2GB well within reach. cls