Date: Tue, 22 Apr 1997 13:33:24 +0930 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: adrian@staff.psinet.net.au (Adrian Chadd) Cc: freebsd-hackers@freebsd.org Subject: Re: 64 bit number definitions? Message-ID: <199704220403.NAA12801@genesis.atrad.adelaide.edu.au> In-Reply-To: <Pine.LNX.3.93.970422111805.5455C-100000@staff.psinet.net.au> from Adrian Chadd at "Apr 22, 97 11:34:07 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Adrian Chadd stands accused of saying: > > 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). Either count in blocks, or use 'long long'. You can use 'off_t' if you prefer, as that may be a better match with lseek(). > 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 a PR 8) > Adrian. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704220403.NAA12801>