fts(3) patch for review

Tim Kientzle kientzle at freebsd.org
Wed Jun 20 06:31:03 UTC 2007


>>>>- 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


More information about the freebsd-current mailing list