Re: [dev] [sbase] 64-bit type for split

From: <random832_AT_fastmail.us>
Date: Fri, 14 Jun 2013 17:08:05 -0400

On Tue, Jun 11, 2013, at 13:35, Galos, David wrote:
> In my implementation of split, the ability to split files into rather
> large chunks is important. However, c89 does not provide a 64-bit int
> type by default. Although I could manually emulate 64-bit counting, a
> uvlong would be far cleaner. Is there a suckless-approved way of using
> such an integer in a c89 environment?

c89 provides whatever size types it wants to.

How exactly do you think you are going to be able to work with / create
files larger than whatever off_t type is provided by the environment
supports? Or are you limiting this to pure ansi instead of posix?
Received on Fri Jun 14 2013 - 23:08:05 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 14 2013 - 23:12:05 CEST