pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] pdf_fsys_disk_get_free_space()


From: Aleksander Morgado
Subject: Re: [pdf-devel] pdf_fsys_disk_get_free_space()
Date: Sat, 15 Nov 2008 00:51:12 +0100
User-agent: Thunderbird 2.0.0.17 (X11/20080925)



> > Yes, it's probably better than using directly pdf_i64_t. In OS without > built-in 64bit support, pdf_off_t will be 32-bits, and 64-bits or longer > in all the others. Right? > > Right. The pdf_off_t type will always be the indicated one to refer to
 > file offsets.

Hey guys.

Dumb question, but, would that data type allow us to represent say, 10 GBytes ?
We're talking about disk space, so it could be 4 Terabytes too !!

With 64bits, a signed integer could represent...
(((((2^63)/1024)/1024)/1024)/1024) = 8192 TeraBytes





reply via email to

[Prev in Thread] Current Thread [Next in Thread]