"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: inttypes.h?
To:
Christian Weisgerber <naddy@mips.inka.de>
Cc:
gameoftrees@openbsd.org
Date:
Sun, 27 Sep 2020 11:43:07 +0100

Download raw body.

Thread
  • Todd C. Miller:

    inttypes.h?

  • Stuart Henderson:

    inttypes.h?

On 2020/09/26 17:41, Christian Weisgerber wrote:
> * ... casts time_t and off_t values to long long, so they are
>   guaranteed to match the %lld format specifier.  On OpenBSD that
>   happens to be the case, on FreeBSD it's a mess that varies by
>   architecture.  I don't know if that's acceptable, but I see similar
>   casts in ssh.

That's the standard method we settled on for this in OpenBSD and used
for most things I fixed in ports - seems the most portable way.