Re: fts(3) patch for review

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Tue, 19 Jun 2007 23:15:10 -0700
>>>>- for things that should be at least 64 bits wide, use long long
>>>> and not int64_t, as the latter is an optional type.
>>>
>>>Isn't "long long" a gcc-ism, whereas int64's are portable....
>>
>>'long long' is part of C99 and was widely supported by many compilers even
>>before C99 was approved.  int64_t is also part of C99. ....
> 
> ... the only mandatory <stdint.h> types are intmax_t and uintmax_t while
> all the [u]intN_t types are declared optional by C99.

So why not use intmax_t?

Tim Kientzle
Received on Wed Jun 20 2007 - 04:31:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:12 UTC