Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Apr 1997 14:10:35 +1000 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Adrian Chadd <adrian@staff.psinet.net.au>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: 64 bit number definitions?
Message-ID:  <Pine.BSF.3.91.970422140745.10264D-100000@panda.hilink.com.au>
In-Reply-To: <Pine.LNX.3.93.970422111805.5455C-100000@staff.psinet.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.970422140745.10264D-100000>