From: Thomas F. <tfj...@sh...> - 2002-05-12 00:08:35
|
On May 11, 2002 03:17 pm, Guenter Bartsch wrote: > hi thomas, > > On Sat, 11 May 2002, Thomas Fjellstrom wrote: > > > off_t is the right choice for anything file-related. otherwise > > > i think using (u)int64_t is a good choice as well. > > > > But off_t is only 64bit when you define __USE_FILE_OFFSET64 > > otherwise its back to 32 bit... At least thats what I gather from > > <sys/types.h> > > right. xine uses 64 bit file offsets (if available), that's why i > think its a good idea to use off_t for file offsets and related > things (if a platform doesn't support 64bit file offsets there's > hope that things will still work using off_t which will then > hopefully be defined as a 32bit type). > > if you definitely want 64bit, use (u)int64_t > > cheers, > > guenter I was just curious if you knew... I've talked to some people and they were totally unaware of the steps you have to take to use large file support. -- Thomas Fjellstrom tfj...@sh... http://strangesoft.net |