Date: Tue, 22 Apr 1997 10:46:44 -0400 (EDT) From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com> To: ponds!staff.psinet.net.au!adrian, danny@panda.hilink.com.au Cc: ponds!FreeBSD.ORG!freebsd-hackers Subject: Re: 64 bit number definitions? Message-ID: <199704221446.KAA04079@lakes.water.net>
next in thread | raw e-mail | index | archive | help
Daniel O'Callaghan writes > > On Tue, 22 Apr 1997, Adrian Chadd wrote: > > > Is there anywhere a 64 bit type in C I can get my hands on? > > (the longest i've seen builtin to the compiler is the unsigned long, but I > > commonly write more than 4 gigabytes to tape at once). > > > > Which reminds me, freebsd's GNU tar apparently uses an "int" type for > > tot_written, that doesn't look like it cant count over 32k bytes. > > File offsets are described as off_t which is a quad_t, which is a 'long > long'. > > I don't know why off_t is not u_quad_t (unsigned long long). > > Snuggle up and read /usr/include/sys/types.h before going to sleep tonight. > > Danny > Just a guess - but probably for negative offsets to lseek(). - Dave Rivers -
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704221446.KAA04079>